Don't allow setting if upside down
This commit is contained in:
parent
e64a439fb4
commit
111acda388
@ -116,6 +116,10 @@ public class PlayerDisguise extends TargetedDisguise {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setScoreboardName(String[] split) {
|
private void setScoreboardName(String[] split) {
|
||||||
|
if (isUpsideDown()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
getScoreboardName().setSplit(split);
|
getScoreboardName().setSplit(split);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user