#1238: Remove unnecessary sign ticking
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
@@ -132,7 +132,17 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -281,7 +342,7 @@
|
||||
@@ -276,12 +337,17 @@
|
||||
|
||||
@Nullable
|
||||
public UUID getPlayerWhoMayEdit() {
|
||||
+ // CraftBukkit start - unnecessary sign ticking removed, so do this lazily
|
||||
+ if (this.level != null && this.playerWhoMayEdit != null) {
|
||||
+ clearInvalidPlayerWhoMayEdit(this, this.level, this.playerWhoMayEdit);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
return this.playerWhoMayEdit;
|
||||
}
|
||||
|
||||
private void markUpdated() {
|
||||
this.setChanged();
|
||||
|
||||
Reference in New Issue
Block a user