Skip to content

Commit

Permalink
refactor: my fault he only wanted to fit a boeing 777 in the spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbker committed Mar 13, 2024
1 parent 84d6985 commit 442c8a1
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,13 @@ object EntityMoveEventListener : CustomTwilightListener() {

init {
if (isPaper()) {

event<EntityMoveEvent> {
if (entity.frozen()) isCancelled = true
}

} else {

event<PlayerMoveEvent> {
if (player.frozen()) isCancelled = true
}

}
}

Expand Down

0 comments on commit 442c8a1

Please sign in to comment.