Explorar o código

piston changed pre event

Kajetan Johannes Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
b84506b24d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }