Deprecated setRiding and isRiding as they are no longer in the game

This commit is contained in:
libraryaddict 2013-11-23 09:39:36 +13:00
parent 73e4c3a7c6
commit 3fd4ddf964
2 changed files with 3 additions and 1 deletions

View File

@ -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();

View File

@ -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);