Fixed crash in production due to method name changes

This commit is contained in:
Sollace 2022-01-14 10:11:00 +02:00
parent 09f76a4286
commit 9f3f012c93

View file

@ -18,8 +18,6 @@ import net.minecraft.world.World;
*/
public interface WeaklyOwned<E extends Entity> extends Owned<E> {
World getWorld();
EntityReference<E> getMasterReference();
/**
@ -36,6 +34,10 @@ public interface WeaklyOwned<E extends Entity> extends Owned<E> {
}
}
default World getWorld() {
return ((Entity)this).world;
}
@Nullable
@Override
default E getMaster() {