@EventHandler(ignoreCancelled = true, priority = EventPriority.NORMAL)
public void onPlayerPickupExp(PlayerExpChangeEvent event) {
double amount = event.getAmount();
if (amount > 0) {
int result = (int) Math.ceil(amount * SettingsYML.EXP_MULTIPLIER_GENERAL);
event.setAmount(result);
}
}
ExpMultiplierListener.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:HCFCore
作者:
评论列表
文章目录