mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27:59 +01:00
Fixed crash in production due to method name changes
This commit is contained in:
parent
09f76a4286
commit
9f3f012c93
1 changed files with 4 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue