mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-08-25 07:12:47 +02:00
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From 2e4696b6c98fd47e500b5cbe388705e76252576c Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Thu, 28 Jun 2018 22:13:44 -0400
|
|
Subject: [PATCH] EMC Default don't use blockstate snapshots
|
|
|
|
---
|
|
src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
|
|
index a25d9d7aa..ebaf4da50 100644
|
|
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
|
|
+++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
|
|
@@ -312,7 +312,7 @@ public class CraftBlock implements Block {
|
|
@Override
|
|
public BlockState getState() {
|
|
// Paper start - allow disabling the use of snapshots
|
|
- return getState(true);
|
|
+ return getState(false); // EMC - default to not use snapshots
|
|
}
|
|
public BlockState getState(boolean useSnapshot) {
|
|
boolean prev = CraftBlockEntityState.DISABLE_SNAPSHOT;
|
|
--
|
|
2.25.1.windows.1
|
|
|