Code cleanup
This commit is contained in:
@ -14,8 +14,8 @@ public class ServerWorldMixin {
|
||||
|
||||
@Inject(method = "onDimensionChanged", at = {@At("HEAD")})
|
||||
public void onDimensionChange(Entity entity, CallbackInfo ci) {
|
||||
if(entity instanceof ServerPlayerEntity) {
|
||||
PacketUtils.updateListNames((ServerPlayerEntity)entity);
|
||||
if (entity instanceof ServerPlayerEntity) {
|
||||
PacketUtils.updateListNames((ServerPlayerEntity) entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user