((VanillaPlayerNetworkComponent) player.getNetwork()).setEntityProtocol(new PlayerEntityProtocol());
}
player.add(PlayerItemCollector.class);
player.add(Sleep.class);
player.add(Level.class);
player.getNetwork().getSession().setUncaughtExceptionHandler(new PasteExceptionHandler(player.getNetwork().getSession()));
Sky sky = player.getWorld().get(Sky.class);
if (sky != null) {
sky.updatePlayer(player);
}
}