mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-03 08:49:32 +01:00
Deprecated setRiding and isRiding as they are no longer in the game
This commit is contained in:
parent
73e4c3a7c6
commit
3fd4ddf964
@ -205,7 +205,7 @@ public class LibsDisguises extends JavaPlugin {
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
System.out.print("[LibsDisguises] Trouble while making values for " + disguiseType.name() + ": "
|
||||
System.out.print("[LibsDisguises] Trouble while making values for disguise " + disguiseType.name() + ": "
|
||||
+ ex.getMessage());
|
||||
System.out.print("[LibsDisguises] Please report this to LibsDisguises author");
|
||||
ex.printStackTrace();
|
||||
|
@ -172,6 +172,7 @@ public class FlagWatcher {
|
||||
return getFlag(5);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public boolean isRiding() {
|
||||
return getFlag(2);
|
||||
}
|
||||
@ -290,6 +291,7 @@ public class FlagWatcher {
|
||||
setItemStack(slot.getSlot(), itemStack);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setRiding(boolean setRiding) {
|
||||
setFlag(0, 2, setRiding);
|
||||
sendData(0);
|
||||
|
Loading…
Reference in New Issue
Block a user