mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-08 09:42:56 +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) {
|
} 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());
|
+ ex.getMessage());
|
||||||
System.out.print("[LibsDisguises] Please report this to LibsDisguises author");
|
System.out.print("[LibsDisguises] Please report this to LibsDisguises author");
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
|
@ -172,6 +172,7 @@ public class FlagWatcher {
|
|||||||
return getFlag(5);
|
return getFlag(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public boolean isRiding() {
|
public boolean isRiding() {
|
||||||
return getFlag(2);
|
return getFlag(2);
|
||||||
}
|
}
|
||||||
@ -290,6 +291,7 @@ public class FlagWatcher {
|
|||||||
setItemStack(slot.getSlot(), itemStack);
|
setItemStack(slot.getSlot(), itemStack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public void setRiding(boolean setRiding) {
|
public void setRiding(boolean setRiding) {
|
||||||
setFlag(0, 2, setRiding);
|
setFlag(0, 2, setRiding);
|
||||||
sendData(0);
|
sendData(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user