Player moved wrongly.

Rysieku

Пользователь
Hello.
When i am walking on slab or stairs i got player moved wrongly error in console and rubberband. Often blocks appear back after breaking it too.
Thanks and regards.
How i have to fix this?
Rysieku.
 

PikyCZ

Developer (Level 2)
In PlayerInvalidMoveEvent
write this
public PlayerInvalidMoveEvent(Player player, boolean revert) {
->this.setCancelled();
this.player = player;
this.revert = revert;
}
 
Top