Don't allow setting if upside down

This commit is contained in:
libraryaddict 2020-05-11 04:48:38 +12:00
parent e64a439fb4
commit 111acda388
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

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