Enabled pvp in hub for snowballs.

This commit is contained in:
Jonathan Williams 2013-12-18 05:56:59 -05:00
parent e55885c85d
commit a24e8e233c

View File

@ -8,6 +8,7 @@ import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.craftbukkit.v1_6_R3.CraftWorld;
import org.bukkit.entity.Egg;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
@ -127,6 +128,8 @@ public class HubManager extends MiniClientPlugin<HubClient>
_statsManager = new StatsManager(plugin);
_statsManager.addTable("Pvp");
((CraftWorld)Bukkit.getWorlds().get(0)).getHandle().pvpMode = true;
}
@EventHandler(priority = EventPriority.HIGHEST)