@mehboss Code does not work, I can not detect the second event
@mehboss I want you to run the two events
As I can make the two events are detected? @EventHandler public void event(PlayerToggleSneakEvent e, PlayerInteractEvent b){...
@FisheyLP Thanks for the help :D
@timtower @FisheyLP I tried to do what they told me but still not Configo it work. And that is not what is wrong BlockState block...
@FisheyLP I tried to do but does not work if(cmd.getName().equalsIgnoreCase("code")){ if(args[0].equalsIgnoreCase("power")){...
@Lordloss Thanks for your help. A query could tell me how to update the state of the lever?
I was trying different methods to make the code work, but still the same. Someone knows how to make the state of the lever to change?...
@AlvinB Thank you
@AlvinB @ArsenArsen @Zombie_Striker @BeastyBoo The code works if it is activated via a command, but does not work when activated by a timer...
@AlvinB The location appears good, but not let me spawnear entities or items.
@ArsenArsen It is the same world, but apparently not let me do appear mobs / items from the world
@Zombie_Striker I've tried, and I can teleport to the location. But not as adding features from the world
I've tried different ways, and it does not work. The location is fine, but not any mob appears. Location location = new Location(world, x, y, z);...
@ArsenArsen Ready, and change it and now it works, thanks.
Separate names with a comma.