@EventHandler
public void onEgg(PlayerEggThrowEvent e) {
if (!hatchingEnabled || e.getPlayer() == null || !plugin.isSkyAssociatedWorld(e.getPlayer().getWorld())) {
return;
}
if (!plugin.playerIsOnIsland(e.getPlayer())) {
e.setHatching(false);
}
}
GriefEvents.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:uSkyBlock
作者:
评论列表
文章目录