2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/network/syncher/DataWatcher.java
|
|
|
|
+++ b/net/minecraft/network/syncher/DataWatcher.java
|
|
|
|
@@ -134,6 +134,13 @@
|
2018-07-15 02:00:00 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
+ // CraftBukkit start - add method from above
|
|
|
|
+ public <T> void markDirty(DataWatcherObject<T> datawatcherobject) {
|
|
|
|
+ this.b(datawatcherobject).a(true);
|
|
|
|
+ this.g = true;
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
+
|
|
|
|
public boolean a() {
|
|
|
|
return this.g;
|
|
|
|
}
|