diff options
-rw-r--r-- | src/main/java/com/yulqen/test/EventListening.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/yulqen/test/EventListening.java b/src/main/java/com/yulqen/test/EventListening.java index bf108c2..cc0df05 100644 --- a/src/main/java/com/yulqen/test/EventListening.java +++ b/src/main/java/com/yulqen/test/EventListening.java @@ -37,7 +37,7 @@ public class EventListening implements Listener { @EventHandler public void sophieMinesIron(BlockBreakEvent e) { Player player = e.getPlayer(); - if (player.getName().equals("SophieLemLem")) { + if (player.getName().equals("GemstoneCat")) { if (checkBlockMaterial(e.getBlock().getType(), Material.IRON_ORE)) { player.getInventory().addItem(new ItemStack(Material.IRON_INGOT, 8)); player.sendMessage("Sophie mines magic iron!"); @@ -130,7 +130,7 @@ public class EventListening implements Listener { @EventHandler public void sophieSpawnsWithDiamondArmour(PlayerRespawnEvent e) { Player player = e.getPlayer(); - if (player.getName().equals("SophieLemLem")) { + if (player.getName().equals("GemstoneCat")) { ItemStack chestPlate = new ItemStack(Material.DIAMOND_CHESTPLATE); ItemStack pants = new ItemStack(Material.DIAMOND_LEGGINGS); ItemStack helmet = new ItemStack(Material.DIAMOND_HELMET); |