Witam moglby mi ktos poprawic ten kod, poniewaz dzieje sie cos takiego:
Błąd 1:
Multiple markers at this line
- The type new TimerCallback(){} must implement the inherited abstract method TimerCallback.success(Object)
- The type new TimerCallback(){} must implement the inherited abstract method TimerCallback.error(Object)
- Type safety: The expression of type new TimerCallback(){} needs unchecked conversion to conform to
TimerCallback<Player>
Błąd 2:
The method teleport(Location) in the type Entity is not applicable for the arguments (TimerUtil)
Pytanie
4RNI 13
Witam moglby mi ktos poprawic ten kod, poniewaz dzieje sie cos takiego:
Błąd 1:
Multiple markers at this line
- The type new TimerCallback(){} must implement the inherited abstract method TimerCallback.success(Object)
- The type new TimerCallback(){} must implement the inherited abstract method TimerCallback.error(Object)
- Type safety: The expression of type new TimerCallback(){} needs unchecked conversion to conform to
TimerCallback<Player>
Błąd 2:
The method teleport(Location) in the type Entity is not applicable for the arguments (TimerUtil)
TimerManager:
https://pastebin.com/tKgUw6Bq
TimerCallback:
https://pastebin.com/aQLdgDsn
Odnośnik do komentarza
https://skript.pl/temat/26450-poprawa-kodu/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi