Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
17 Zeilen
401 B
Diff
17 Zeilen
401 B
Diff
--- a/net/minecraft/server/DataWatcher.java
|
|
+++ b/net/minecraft/server/DataWatcher.java
|
|
@@ -128,6 +128,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;
|
|
}
|