Update src/main/java/net/betterverse/mechanics/mechanics/Gate.java

It works