summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-25 13:45:16 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-25 13:45:16 +0100
commit7f109d7cb2eeba8a57fa52c6658091802416b877 (patch)
treeade0d5f1c06ed402487e4f8b33eacea91f73431f
parentcb54635dfc6284bdb85befd5fcc4cb66ef219bb7 (diff)
changed sophies nameHEADmaster
-rw-r--r--src/main/java/com/yulqen/test/EventListening.java4
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);