Enabled pvp in hub for snowballs.
This commit is contained in:
parent
e55885c85d
commit
a24e8e233c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user