Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Sep 9, 2020
1 parent d41a244 commit 7e5762b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static boolean isPlayerInRightState(PlayerEntity player){
public static void onNeighborNotifyEvent(BlockEvent.NeighborNotifyEvent event){
if(Config.COMMON.getTreesConfiguration().isLeavesBreaking()
&& !event.getWorld().isRemote()
&& world instanceof ServerWorld){
&& event.getWorld() instanceof ServerWorld){
ServerWorld world = (ServerWorld) event.getWorld();
BlockState eventState = event.getState();
Block eventBlock = eventState.getBlock();
Expand Down

0 comments on commit 7e5762b

Please sign in to comment.