Browse Source

piston changed pre event

Kajetan Johannes Hammerle 4 years ago
parent
commit
b84506b24d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/me/km/events/CustomEventCaller.java

+ 1 - 1
src/main/java/me/km/events/CustomEventCaller.java

@@ -71,7 +71,7 @@ public class CustomEventCaller {
     }
 
     @SubscribeEvent
-    public void onPiston(PistonEvent e) {
+    public void onPiston(PistonEvent.Pre e) {
         if(e.getPistonMoveType() != PistonMoveType.EXTEND) {
             return;
         }