mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Allow FakePlayer to report its position (#8963)
This commit is contained in:
1 parent
75fcd9448e
commit
a51b8d256d
1 file changed
-2
@@ -81,8 +81,6 @@ public class FakePlayer extends ServerPlayer
|
||||
this.connection = new FakePlayerNetHandler(level.getServer(), this);
|
||||
}
|
||||
|
||||
@Override public Vec3 position() { return new Vec3(0, 0, 0); }
|
||||
@Override public BlockPos blockPosition() { return BlockPos.ZERO; }
|
||||
@Override public void displayClientMessage(Component chatComponent, boolean actionBar) { }
|
||||
@Override public void awardStat(Stat stat, int amount) { }
|
||||
@Override public boolean isInvulnerableTo(DamageSource source) { return true; }
|
||||
|
||||
Reference in new issue
Block a user