9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2026-01-06 15:51:50 +00:00
This commit is contained in:
XiaoMoMi
2024-01-20 23:37:44 +08:00
parent 33efdeca79
commit c979173ba9
5 changed files with 318 additions and 2 deletions

View File

@@ -87,6 +87,11 @@ public abstract class AbstractGamingPlayer implements GamingPlayer, Runnable {
return false;
}
@Override
public boolean onSneak() {
return false;
}
@Override
public Player getPlayer() {
return player;

View File

@@ -55,6 +55,11 @@ public interface GamingPlayer {
*/
boolean onJump();
/**
* @return whether to cancel the event
*/
boolean onSneak();
Player getPlayer();
/**