@EventHandler
public void onWorldChange(PlayerChangedWorldEvent e) {
Player p = e.getPlayer();
if (!plugin.getVanishStateMgr().isVanished(p.getUniqueId()))
return;
sendAddPotionEffect(p, new PotionEffect(PotionEffectType.NIGHT_VISION,
INFINITE_POTION_EFFECT_LENGTH, 0));
}
NightVision.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:SuperVanish
作者:
评论列表
文章目录