mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Operation: sanity commences
This commit is contained in:
1 parent
6ac4d61df1
commit
7e9df5fe95
1 file changed
+186
-6
@@ -47,6 +47,12 @@ public final class Utilities {
|
|||||||
private static final List<Material> ANY = new ArrayList<Material>();
|
private static final List<Material> ANY = new ArrayList<Material>();
|
||||||
private static final Map<Material, Material> COMBO = new HashMap<Material, Material>();
|
private static final Map<Material, Material> COMBO = new HashMap<Material, Material>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Send a hack level alert to players and console
|
||||||
|
*
|
||||||
|
* @param message List of strings to send as the alert
|
||||||
|
*
|
||||||
|
*/
|
||||||
public static void alert(List<String> message) {
|
public static void alert(List<String> message) {
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||||
if (Permission.SYSTEM_ALERT.get(player)) {
|
if (Permission.SYSTEM_ALERT.get(player)) {
|
||||||
@@ -67,40 +73,80 @@ public final class Utilities {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player cannot stand on or around the given block
|
||||||
|
*
|
||||||
|
* @param block the block to check
|
||||||
|
* @return true if the player should be unable to stand here
|
||||||
|
*/
|
||||||
public static boolean cantStandAt(Block block) {
|
public static boolean cantStandAt(Block block) {
|
||||||
return !canStand(block) && cantStandClose(block) && cantStandFar(block);
|
return !canStand(block) && cantStandClose(block) && cantStandFar(block);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean cantStandAtExp(Location block) {
|
/**
|
||||||
// This is a experimental check for checking whether you can't stand at or whatever.
|
* Determine whether a player should be unable to stand at a given location
|
||||||
Block nblock = new Location(block.getWorld(), fixXAxis(block.getX()), block.getY() - 0.01D, block.getBlockZ()).getBlock();
|
*
|
||||||
return cantStandAt(nblock);
|
* @param location the location to check
|
||||||
|
* @return true if the player should be unable to stand here
|
||||||
|
*/
|
||||||
|
public static boolean cantStandAtExp(Location location) {
|
||||||
|
return cantStandAt(new Location(location.getWorld(), fixXAxis(location.getX()), location.getY() - 0.01D, location.getBlockZ()).getBlock());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether cannot stand on the block's immediately surroundings (North, East, South, West)
|
||||||
|
*
|
||||||
|
* @param block the block to check
|
||||||
|
* @return true if a player cannot stand in the immediate vicinity
|
||||||
|
*/
|
||||||
public static boolean cantStandClose(Block block) {
|
public static boolean cantStandClose(Block block) {
|
||||||
return !canStand(block.getRelative(BlockFace.NORTH)) && !canStand(block.getRelative(BlockFace.EAST)) && !canStand(block.getRelative(BlockFace.SOUTH)) && !canStand(block.getRelative(BlockFace.WEST));
|
return !canStand(block.getRelative(BlockFace.NORTH)) && !canStand(block.getRelative(BlockFace.EAST)) && !canStand(block.getRelative(BlockFace.SOUTH)) && !canStand(block.getRelative(BlockFace.WEST));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether cannot stand on the block's outer surroundings
|
||||||
|
*
|
||||||
|
* @param block the block to check
|
||||||
|
* @return true if a player cannot stand in areas further away from the block
|
||||||
|
*/
|
||||||
public static boolean cantStandFar(Block block) {
|
public static boolean cantStandFar(Block block) {
|
||||||
return !canStand(block.getRelative(BlockFace.NORTH_WEST)) && !canStand(block.getRelative(BlockFace.NORTH_EAST)) && !canStand(block.getRelative(BlockFace.SOUTH_WEST)) && !canStand(block.getRelative(BlockFace.SOUTH_EAST));
|
return !canStand(block.getRelative(BlockFace.NORTH_WEST)) && !canStand(block.getRelative(BlockFace.NORTH_EAST)) && !canStand(block.getRelative(BlockFace.SOUTH_WEST)) && !canStand(block.getRelative(BlockFace.SOUTH_EAST));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player can stand on the given block
|
||||||
|
*
|
||||||
|
* @param block the block to check
|
||||||
|
* @return true if the player can stand here
|
||||||
|
*/
|
||||||
public static boolean canStand(Block block) {
|
public static boolean canStand(Block block) {
|
||||||
return !(block.isLiquid() || block.getType() == Material.AIR);
|
return !(block.isLiquid() || block.getType() == Material.AIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is fully submerged in water
|
||||||
|
*
|
||||||
|
* @param player the player's location
|
||||||
|
* @return true if the player is fully in the water
|
||||||
|
*/
|
||||||
public static boolean isFullyInWater(Location player) {
|
public static boolean isFullyInWater(Location player) {
|
||||||
double touchedX = fixXAxis(player.getX());
|
double touchedX = fixXAxis(player.getX());
|
||||||
|
|
||||||
// Yes, this doesn't make sense, but it's supposed to fix some false positives in water walk.
|
// Yes, this doesn't make sense, but it's supposed to fix some false positives in water walk.
|
||||||
// Think of it as 2 negatives = a positive :)
|
// Think of it as 2 negatives = a positive :)
|
||||||
if (!(new Location(player.getWorld(), touchedX, player.getY(), player.getBlockZ()).getBlock()).isLiquid() && !(new Location(player.getWorld(), touchedX, Math.round(player.getY()), player.getBlockZ()).getBlock()).isLiquid()) { return true; }
|
if (!(new Location(player.getWorld(), touchedX, player.getY(), player.getBlockZ()).getBlock()).isLiquid() && !(new Location(player.getWorld(), touchedX, Math.round(player.getY()), player.getBlockZ()).getBlock()).isLiquid()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return (new Location(player.getWorld(), touchedX, player.getY(), player.getBlockZ()).getBlock()).isLiquid() && (new Location(player.getWorld(), touchedX, Math.round(player.getY()), player.getBlockZ()).getBlock()).isLiquid();
|
return (new Location(player.getWorld(), touchedX, player.getY(), player.getBlockZ()).getBlock()).isLiquid() && (new Location(player.getWorld(), touchedX, Math.round(player.getY()), player.getBlockZ()).getBlock()).isLiquid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fixes a player's X position to determine the block they are on, even if they're on the edge
|
||||||
|
* @param x player's x position
|
||||||
|
* @return fixed x position
|
||||||
|
*/
|
||||||
public static double fixXAxis(double x) {
|
public static double fixXAxis(double x) {
|
||||||
/* Really really really useful function for those who are on the edges of blocks */
|
|
||||||
/* For Z axis, just use Math.round(xaxis); */
|
/* For Z axis, just use Math.round(xaxis); */
|
||||||
double touchedX = x;
|
double touchedX = x;
|
||||||
double rem = touchedX - Math.round(touchedX) + 0.01D;
|
double rem = touchedX - Math.round(touchedX) + 0.01D;
|
||||||
@@ -110,6 +156,13 @@ public final class Utilities {
|
|||||||
return touchedX;
|
return touchedX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine if the player is hovering over water with the given limit
|
||||||
|
*
|
||||||
|
* @param player the player's location
|
||||||
|
* @param blocks max blocks to check
|
||||||
|
* @return true if the player is hovering over water
|
||||||
|
*/
|
||||||
public static boolean isHoveringOverWater(Location player, int blocks) {
|
public static boolean isHoveringOverWater(Location player, int blocks) {
|
||||||
for (int i = player.getBlockY(); i > player.getBlockY() - blocks; i--) {
|
for (int i = player.getBlockY(); i > player.getBlockY() - blocks; i--) {
|
||||||
Block newloc = (new Location(player.getWorld(), player.getBlockX(), i, player.getBlockZ())).getBlock();
|
Block newloc = (new Location(player.getWorld(), player.getBlockX(), i, player.getBlockZ())).getBlock();
|
||||||
@@ -123,62 +176,147 @@ public final class Utilities {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine if the player is hovering over water with a hard limit of 25 blocks
|
||||||
|
*
|
||||||
|
* @param player the player's location
|
||||||
|
* @return true if the player is hovering over water
|
||||||
|
*/
|
||||||
public static boolean isHoveringOverWater(Location player) {
|
public static boolean isHoveringOverWater(Location player) {
|
||||||
return isHoveringOverWater(player, 25);
|
return isHoveringOverWater(player, 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a material will break instantly when hit
|
||||||
|
*
|
||||||
|
* @param m the material to check
|
||||||
|
* @return true if the material is instant break
|
||||||
|
*/
|
||||||
public static boolean isInstantBreak(Material m) {
|
public static boolean isInstantBreak(Material m) {
|
||||||
return INSTANT_BREAK.contains(m);
|
return INSTANT_BREAK.contains(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a material is edible
|
||||||
|
*
|
||||||
|
* @param m the material to check
|
||||||
|
* @return true if the material is food
|
||||||
|
*/
|
||||||
public static boolean isFood(Material m) {
|
public static boolean isFood(Material m) {
|
||||||
return FOOD.contains(m);
|
return FOOD.contains(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a block is a slab
|
||||||
|
*
|
||||||
|
* @param block block to check
|
||||||
|
* @return true if slab
|
||||||
|
*/
|
||||||
public static boolean isSlab(Block block) {
|
public static boolean isSlab(Block block) {
|
||||||
int id = block.getTypeId();
|
int id = block.getTypeId();
|
||||||
return id == 43 || id == 44 || id == 125 || id == 126;
|
return id == 43 || id == 44 || id == 125 || id == 126;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a block is a stair
|
||||||
|
*
|
||||||
|
* @param block block to check
|
||||||
|
* @return true if stair
|
||||||
|
*/
|
||||||
public static boolean isStair(Block block) {
|
public static boolean isStair(Block block) {
|
||||||
int id = block.getTypeId();
|
int id = block.getTypeId();
|
||||||
return id == 53 || id == 67 || id == 108 || id == 109 || id == 114 || id == 128 || id == 134 || id == 135 || id == 136;
|
return id == 53 || id == 67 || id == 108 || id == 109 || id == 114 || id == 128 || id == 134 || id == 135 || id == 136;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player can interact with this material
|
||||||
|
*
|
||||||
|
* @param m material to check
|
||||||
|
* @return true if interactable
|
||||||
|
*/
|
||||||
public static boolean isInteractable(Material m) {
|
public static boolean isInteractable(Material m) {
|
||||||
return INTERACTABLE.contains(m);
|
return INTERACTABLE.contains(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is sprinting or flying
|
||||||
|
*
|
||||||
|
* @param player player to check
|
||||||
|
* @return true if sprinting or flying
|
||||||
|
*/
|
||||||
public static boolean sprintFly(Player player) {
|
public static boolean sprintFly(Player player) {
|
||||||
return player.isSprinting() || player.isFlying();
|
return player.isSprinting() || player.isFlying();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is standing on a lily pad
|
||||||
|
*
|
||||||
|
* @param player player to check
|
||||||
|
* @return true if on lily pad
|
||||||
|
*/
|
||||||
public static boolean isOnLilyPad(Player player) {
|
public static boolean isOnLilyPad(Player player) {
|
||||||
Block block = player.getLocation().getBlock();
|
Block block = player.getLocation().getBlock();
|
||||||
Material lily = Material.WATER_LILY;
|
Material lily = Material.WATER_LILY;
|
||||||
|
// TODO: Can we fix X this?
|
||||||
return block.getType() == lily || block.getRelative(BlockFace.NORTH).getType() == lily || block.getRelative(BlockFace.SOUTH).getType() == lily || block.getRelative(BlockFace.EAST).getType() == lily || block.getRelative(BlockFace.WEST).getType() == lily;
|
return block.getType() == lily || block.getRelative(BlockFace.NORTH).getType() == lily || block.getRelative(BlockFace.SOUTH).getType() == lily || block.getRelative(BlockFace.EAST).getType() == lily || block.getRelative(BlockFace.WEST).getType() == lily;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is fully submersed in liquid
|
||||||
|
*
|
||||||
|
* @param player player to check
|
||||||
|
* @return true if submersed
|
||||||
|
*/
|
||||||
public static boolean isSubmersed(Player player) {
|
public static boolean isSubmersed(Player player) {
|
||||||
return player.getLocation().getBlock().isLiquid() && player.getLocation().getBlock().getRelative(BlockFace.UP).isLiquid();
|
return player.getLocation().getBlock().isLiquid() && player.getLocation().getBlock().getRelative(BlockFace.UP).isLiquid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is in water
|
||||||
|
*
|
||||||
|
* @param player player to check
|
||||||
|
* @return true if in water
|
||||||
|
*/
|
||||||
public static boolean isInWater(Player player) {
|
public static boolean isInWater(Player player) {
|
||||||
return player.getLocation().getBlock().isLiquid() || player.getLocation().getBlock().getRelative(BlockFace.DOWN).isLiquid() || player.getLocation().getBlock().getRelative(BlockFace.UP).isLiquid();
|
return player.getLocation().getBlock().isLiquid() || player.getLocation().getBlock().getRelative(BlockFace.DOWN).isLiquid() || player.getLocation().getBlock().getRelative(BlockFace.UP).isLiquid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is in a web
|
||||||
|
*
|
||||||
|
* @param player player to check
|
||||||
|
* @return true if in web
|
||||||
|
*/
|
||||||
public static boolean isInWeb(Player player) {
|
public static boolean isInWeb(Player player) {
|
||||||
return player.getLocation().getBlock().getType() == Material.WEB || player.getLocation().getBlock().getRelative(BlockFace.DOWN).getType() == Material.WEB || player.getLocation().getBlock().getRelative(BlockFace.UP).getType() == Material.WEB;
|
return player.getLocation().getBlock().getType() == Material.WEB || player.getLocation().getBlock().getRelative(BlockFace.DOWN).getType() == Material.WEB || player.getLocation().getBlock().getRelative(BlockFace.UP).getType() == Material.WEB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a block is climbable
|
||||||
|
*
|
||||||
|
* @param block block to check
|
||||||
|
* @return true if climbable
|
||||||
|
*/
|
||||||
public static boolean isClimbableBlock(Block block) {
|
public static boolean isClimbableBlock(Block block) {
|
||||||
return block.getType() == Material.VINE || block.getType() == Material.LADDER;
|
return block.getType() == Material.VINE || block.getType() == Material.LADDER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a player is on a vine (can be free hanging)
|
||||||
|
*
|
||||||
|
* @param player to check
|
||||||
|
* @return true if on vine
|
||||||
|
*/
|
||||||
public static boolean isOnVine(Player player) {
|
public static boolean isOnVine(Player player) {
|
||||||
return player.getLocation().getBlock().getType() == Material.VINE;
|
return player.getLocation().getBlock().getType() == Material.VINE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether a String can be cast to an Integer
|
||||||
|
*
|
||||||
|
* @param string text to check
|
||||||
|
* @return true if int
|
||||||
|
*/
|
||||||
public static boolean isInt(String string) {
|
public static boolean isInt(String string) {
|
||||||
boolean x = false;
|
boolean x = false;
|
||||||
try {
|
try {
|
||||||
@@ -188,6 +326,13 @@ public final class Utilities {
|
|||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calculate the time in milliseconds that it should take to break the given block with the given tool
|
||||||
|
*
|
||||||
|
* @param tool tool to check
|
||||||
|
* @param block block to check
|
||||||
|
* @return time in milliseconds to break
|
||||||
|
*/
|
||||||
public static long calcSurvivalFastBreak(ItemStack tool, Material block) {
|
public static long calcSurvivalFastBreak(ItemStack tool, Material block) {
|
||||||
if(isInstantBreak(block) || (tool.getType() == Material.SHEARS && block.getId() == Material.LEAVES.getId())) {
|
if(isInstantBreak(block) || (tool.getType() == Material.SHEARS && block.getId() == Material.LEAVES.getId())) {
|
||||||
return 0;
|
return 0;
|
||||||
@@ -217,6 +362,13 @@ public final class Utilities {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine whether the given tool is a combination that makes the breaking of this block faster
|
||||||
|
*
|
||||||
|
* @param tool tool to check
|
||||||
|
* @param block block to check
|
||||||
|
* @return true if quick combo
|
||||||
|
*/
|
||||||
private static boolean isQuickCombo(ItemStack tool, Material block) {
|
private static boolean isQuickCombo(ItemStack tool, Material block) {
|
||||||
for(Material t : COMBO.keySet()) {
|
for(Material t : COMBO.keySet()) {
|
||||||
if(tool.getType() == t && COMBO.get(t) == block) {
|
if(tool.getType() == t && COMBO.get(t) == block) {
|
||||||
@@ -226,6 +378,13 @@ public final class Utilities {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine if a block ISN'T one of the specified types
|
||||||
|
*
|
||||||
|
* @param block block to check
|
||||||
|
* @param materials array of possible materials
|
||||||
|
* @return true if the block isn't any of the materials
|
||||||
|
*/
|
||||||
public static boolean blockIsnt(Block block, Material[] materials) {
|
public static boolean blockIsnt(Block block, Material[] materials) {
|
||||||
Material type = block.getType();
|
Material type = block.getType();
|
||||||
for(Material m : materials) {
|
for(Material m : materials) {
|
||||||
@@ -236,10 +395,23 @@ public final class Utilities {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Parse a COMMAND[] input to a set of commands to execute
|
||||||
|
*
|
||||||
|
* @param command input string
|
||||||
|
* @return parsed commands
|
||||||
|
*/
|
||||||
public static String [] getCommands(String command) {
|
public static String [] getCommands(String command) {
|
||||||
return command.replaceAll("COMMAND\\[", "").replaceAll("]", "").split(";");
|
return command.replaceAll("COMMAND\\[", "").replaceAll("]", "").split(";");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine if a player has the given enchantment on their armor
|
||||||
|
*
|
||||||
|
* @param player player to check
|
||||||
|
* @param e enchantment to check
|
||||||
|
* @return true if the armor has this enchantment
|
||||||
|
*/
|
||||||
public static boolean hasArmorEnchantment(Player player, Enchantment e) {
|
public static boolean hasArmorEnchantment(Player player, Enchantment e) {
|
||||||
for(ItemStack is : player.getInventory().getArmorContents()) {
|
for(ItemStack is : player.getInventory().getArmorContents()) {
|
||||||
if(is != null && is.containsEnchantment(e)) {
|
if(is != null && is.containsEnchantment(e)) {
|
||||||
@@ -250,6 +422,7 @@ public final class Utilities {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
// START INSTANT BREAK MATERIALS
|
||||||
INSTANT_BREAK.add(Material.RED_MUSHROOM);
|
INSTANT_BREAK.add(Material.RED_MUSHROOM);
|
||||||
INSTANT_BREAK.add(Material.RED_ROSE);
|
INSTANT_BREAK.add(Material.RED_ROSE);
|
||||||
INSTANT_BREAK.add(Material.BROWN_MUSHROOM);
|
INSTANT_BREAK.add(Material.BROWN_MUSHROOM);
|
||||||
@@ -273,11 +446,15 @@ public final class Utilities {
|
|||||||
INSTANT_BREAK.add(Material.TNT);
|
INSTANT_BREAK.add(Material.TNT);
|
||||||
INSTANT_BREAK.add(Material.POTATO);
|
INSTANT_BREAK.add(Material.POTATO);
|
||||||
INSTANT_BREAK.add(Material.CARROT);
|
INSTANT_BREAK.add(Material.CARROT);
|
||||||
|
// END INSTANT BREAK MATERIALS
|
||||||
|
|
||||||
|
// START INTERACTABLE MATERIALS
|
||||||
INTERACTABLE.add(Material.STONE_BUTTON);
|
INTERACTABLE.add(Material.STONE_BUTTON);
|
||||||
INTERACTABLE.add(Material.LEVER);
|
INTERACTABLE.add(Material.LEVER);
|
||||||
INTERACTABLE.add(Material.CHEST);
|
INTERACTABLE.add(Material.CHEST);
|
||||||
|
// END INTERACTABLE MATERIALS
|
||||||
|
|
||||||
|
// START FOOD
|
||||||
FOOD.add(Material.COOKED_BEEF);
|
FOOD.add(Material.COOKED_BEEF);
|
||||||
FOOD.add(Material.COOKED_CHICKEN);
|
FOOD.add(Material.COOKED_CHICKEN);
|
||||||
FOOD.add(Material.COOKED_FISH);
|
FOOD.add(Material.COOKED_FISH);
|
||||||
@@ -295,11 +472,14 @@ public final class Utilities {
|
|||||||
FOOD.add(Material.SPIDER_EYE);
|
FOOD.add(Material.SPIDER_EYE);
|
||||||
FOOD.add(Material.ROTTEN_FLESH);
|
FOOD.add(Material.ROTTEN_FLESH);
|
||||||
FOOD.add(Material.POTATO_ITEM);
|
FOOD.add(Material.POTATO_ITEM);
|
||||||
|
// END FOOD
|
||||||
|
|
||||||
|
// START COMBOS
|
||||||
COMBO.put(Material.SHEARS, Material.WOOL);
|
COMBO.put(Material.SHEARS, Material.WOOL);
|
||||||
COMBO.put(Material.IRON_SWORD, Material.WEB);
|
COMBO.put(Material.IRON_SWORD, Material.WEB);
|
||||||
COMBO.put(Material.DIAMOND_SWORD, Material.WEB);
|
COMBO.put(Material.DIAMOND_SWORD, Material.WEB);
|
||||||
COMBO.put(Material.STONE_SWORD, Material.WEB);
|
COMBO.put(Material.STONE_SWORD, Material.WEB);
|
||||||
COMBO.put(Material.WOOD_SWORD, Material.WEB);
|
COMBO.put(Material.WOOD_SWORD, Material.WEB);
|
||||||
|
// END COMBOS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user