Skip to content

Commit

Permalink
Fix ModelEngine access error (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzelAliz committed May 26, 2023
1 parent 08b035d commit b254d6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ public void forceSetPositionRotation(double x, double y, double z, float yaw, fl
}

@Override
protected boolean isImmobile() {
public boolean isImmobile() {
return super.isImmobile() || !this.getBukkitEntity().isOnline();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Arclight 1.19.4
public net.minecraft.world.item.DebugStickItem m_150802_(Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;ZLnet/minecraft/world/item/ItemStack;)Z # handleInteraction
public net.minecraft.world.level.block.ComposterBlock m_269590_(Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; # empty
public net.minecraft.world.entity.player.Player m_6107_()Z # isImmobile
# Arclight 1.19.3
public net.minecraft.server.MinecraftServer$TimeProfiler <init>(JI)V # TimeProfiler
public net.minecraft.world.level.block.entity.SkullBlockEntity f_262250_ # noteBlockSound
Expand Down

0 comments on commit b254d6f

Please sign in to comment.