geforkt von Mirrors/Paper
9da047989c
By: md_5 <git@md-5.net>
17 Zeilen
419 B
Diff
17 Zeilen
419 B
Diff
--- a/net/minecraft/network/syncher/DataWatcher.java
|
|
+++ b/net/minecraft/network/syncher/DataWatcher.java
|
|
@@ -134,6 +134,13 @@
|
|
|
|
}
|
|
|
|
+ // 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;
|
|
}
|