mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-23 02:55:27 +01:00
26 lines
970 B
Diff
26 lines
970 B
Diff
|
From fb8436bfb388c5aedd3454ad8215eac81ae00816 Mon Sep 17 00:00:00 2001
|
||
|
From: Aikar <aikar@aikar.co>
|
||
|
Date: Tue, 7 Nov 2017 00:01:04 -0500
|
||
|
Subject: [PATCH] EMC Don't use snapshots for TileEntity::getOwner
|
||
|
|
||
|
---
|
||
|
src/main/java/net/minecraft/server/TileEntity.java | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/main/java/net/minecraft/server/TileEntity.java b/src/main/java/net/minecraft/server/TileEntity.java
|
||
|
index a8e64dfd..d4556abd 100644
|
||
|
--- a/src/main/java/net/minecraft/server/TileEntity.java
|
||
|
+++ b/src/main/java/net/minecraft/server/TileEntity.java
|
||
|
@@ -235,7 +235,7 @@ public abstract class TileEntity implements KeyedObject { // Paper
|
||
|
// CraftBukkit start - add method
|
||
|
// Paper start
|
||
|
public InventoryHolder getOwner() {
|
||
|
- return getOwner(true);
|
||
|
+ return getOwner(false); // EMC - don't use snapshots
|
||
|
}
|
||
|
public InventoryHolder getOwner(boolean useSnapshot) {
|
||
|
// Paper end
|
||
|
--
|
||
|
2.25.1.windows.1
|
||
|
|