Posted May 13, 20196 yr I did an decorate event, i want to let it cancel lakes and trees, i asked if type == tree or type == water_lake, for some reason the trees are gone but i still have lakes
May 13, 20196 yr Author @SubscribeEvent(receiveCanceled=true) public void onEvent(Decorate event){ if(event.getType() == Decorate.EventType.TREE||event.getType() == Decorate.EventType.LAKE_LAVA||event.getType() == Decorate.EventType.LAKE_WATER){ event.setResult(Event.Result.DENY); } } 4 hours ago, diesieben07 said: Show your code. thats all, trees got canceled and lakes not
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.