From 1272be334ee3435498f6eb7478b7f78a13e17c33 Mon Sep 17 00:00:00 2001 From: Lee Date: Thu, 30 Nov 2023 18:48:17 -0800 Subject: [PATCH] fix magmacube and slime pet dmg --- .../java/lee/code/pets/pets/pet/monster/MagmaCubePet.java | 4 ++++ src/main/java/lee/code/pets/pets/pet/monster/SlimePet.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/main/java/lee/code/pets/pets/pet/monster/MagmaCubePet.java b/src/main/java/lee/code/pets/pets/pet/monster/MagmaCubePet.java index 3934e12..d95aea7 100644 --- a/src/main/java/lee/code/pets/pets/pet/monster/MagmaCubePet.java +++ b/src/main/java/lee/code/pets/pets/pet/monster/MagmaCubePet.java @@ -46,6 +46,10 @@ public boolean save(CompoundTag compoundTag) { return false; } + @Override + public void playerTouch(net.minecraft.world.entity.player.Player player) { + } + @Override public void tick() { super.tick(); diff --git a/src/main/java/lee/code/pets/pets/pet/monster/SlimePet.java b/src/main/java/lee/code/pets/pets/pet/monster/SlimePet.java index 98d0051..7af3947 100644 --- a/src/main/java/lee/code/pets/pets/pet/monster/SlimePet.java +++ b/src/main/java/lee/code/pets/pets/pet/monster/SlimePet.java @@ -46,6 +46,10 @@ public boolean save(CompoundTag compoundTag) { return false; } + @Override + public void playerTouch(net.minecraft.world.entity.player.Player player) { + } + @Override public void tick() { super.tick();