blast prot
This commit is contained in:
@@ -196,7 +196,7 @@ public class TpToFfaCommand implements CommandExecutor, TabCompleter {
|
||||
chestplate.addEnchantment(Enchantment.PROTECTION, 4);
|
||||
chestplate.addEnchantment(Enchantment.UNBREAKING, 3);
|
||||
chestplate.addEnchantment(Enchantment.MENDING, 1);
|
||||
leggings.addEnchantment(Enchantment.PROTECTION, 4);
|
||||
leggings.addEnchantment(Enchantment.BLAST_PROTECTION, 4);
|
||||
leggings.addEnchantment(Enchantment.UNBREAKING, 3);
|
||||
leggings.addEnchantment(Enchantment.MENDING, 1);
|
||||
boots.addEnchantment(Enchantment.PROTECTION, 4);
|
||||
@@ -268,6 +268,14 @@ public class TpToFfaCommand implements CommandExecutor, TabCompleter {
|
||||
player.getInventory().setItem(getItemSlot("flintandsteel", "boxcart", player), flintandsteel);
|
||||
player.getInventory().setItem(getItemSlot("totem", "boxcart", player), totem);
|
||||
|
||||
World world = Bukkit.getWorld("world");
|
||||
double x = -1000.5;
|
||||
double y = 0.0;
|
||||
double z = -1000.5;
|
||||
float yaw = (float) 0;
|
||||
float pitch = (float) 0;
|
||||
Location loc = new Location(world, x, y, z, yaw, pitch);
|
||||
player.teleport(loc);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user