Update upstream

This commit is contained in:
NotMyFault
2020-01-08 19:36:12 +01:00
parent 1414859773
commit 3ee920f9e6
8 changed files with 31 additions and 90 deletions

View File

@ -156,6 +156,7 @@ public class LocalSession implements TextureHolder {
private transient List<Countable<BlockState>> lastDistribution;
private transient World worldOverride;
private transient boolean tickingWatchdog = false;
private transient boolean hasBeenToldVersion;
// Saved properties
private String lastScript;
@ -1199,6 +1200,9 @@ public class LocalSession implements TextureHolder {
* @param actor the actor
*/
public void tellVersion(Actor actor) {
if (hasBeenToldVersion) return;
hasBeenToldVersion = true;
actor.sendAnnouncements();
}
public boolean shouldUseServerCUI() {