Skip to content

Commit

Permalink
fix no such method err on 1.18.2 when handling ticking player
Browse files Browse the repository at this point in the history
  • Loading branch information
Bawnorton committed Sep 28, 2023
1 parent cc486ec commit 9cc8e55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static void handleEntityTicking(Entity entity, Throwable e) {
private static void handleTickingPlayer(ServerPlayerEntity player, Throwable e) {
String message = Version.translatableText("neruina.ticking.player", player.getName().getString()).getString();
Neruina.LOGGER.warn(message, e);
if (!player.getWorld().isClient()) {
if (!player.getEntityWorld().isClient()) {
if(!server.isDedicated()) throw new DoNotHandleException(e);

messagePlayers(message);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ minecraft_version=1.20.1
enabled_platforms=fabric,forge

archives_base_name=neruina
mod_version=1.2.3
mod_version=1.2.4
maven_group=com.bawnorton.neruina

architectury_version=9.0.8
Expand Down

0 comments on commit 9cc8e55

Please sign in to comment.