diff options
author | Matthew Lemon <y@yulqen.org> | 2023-04-25 13:45:16 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-04-25 13:45:16 +0100 |
commit | 7f109d7cb2eeba8a57fa52c6658091802416b877 (patch) | |
tree | ade0d5f1c06ed402487e4f8b33eacea91f73431f | |
parent | cb54635dfc6284bdb85befd5fcc4cb66ef219bb7 (diff) |
-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); |