dainxt / DungeonsMod-Issue-Tracker

Issue Tracker for DungeonsMod
1 stars 0 forks source link

[1.16.5] ClientServer can't be cast to ServerWorld #44

Closed FoxMcloud5655 closed 2 years ago

FoxMcloud5655 commented 2 years ago

Probably should add an if (world.isRemote) return; check at the beginning of this...

java.lang.ClassCastException: net.minecraft.client.world.ClientWorld cannot be cast to net.minecraft.world.server.ServerWorld
    at com.dainxt.dungeonsmod.handlers.EventsHandler.onEntityPlace(EventsHandler.java:238) ~[?:1.16.3-1.4.42] {re:classloading}
dainxt commented 2 years ago

Oh... fixed on 1.4.43...