From 70e6dbf2ecad1c4fe12ffbe5c4d678880d148783 Mon Sep 17 00:00:00 2001 From: Zeanon Date: Sat, 8 May 2021 02:02:01 +0200 Subject: [PATCH] Create 0566-Unfixed-moving-piston.patch --- .../0566-Unfixed-moving-piston.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Paper/SteamWar-Patches/0566-Unfixed-moving-piston.patch diff --git a/Paper/SteamWar-Patches/0566-Unfixed-moving-piston.patch b/Paper/SteamWar-Patches/0566-Unfixed-moving-piston.patch new file mode 100644 index 0000000..d2e3976 --- /dev/null +++ b/Paper/SteamWar-Patches/0566-Unfixed-moving-piston.patch @@ -0,0 +1,21 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Zeanon +Date: Sat, 8 May 2021 01:57:17 +0200 +Subject: [PATCH] UNFIXED_MOVING_PISTON + + +diff --git a/src/main/java/net/minecraft/server/Block.java b/src/main/java/net/minecraft/server/Block.java +index 66244a9d0e253b3709df4ae2adcd21e44ebbfc90..44cbd2c650649f55bf28537896d890e4a61088dc 100644 +--- a/src/main/java/net/minecraft/server/Block.java ++++ b/src/main/java/net/minecraft/server/Block.java +@@ -37,8 +37,8 @@ public class Block implements IMaterial { + this != Blocks.BEDROCK && + this != Blocks.END_PORTAL_FRAME && + this != Blocks.END_PORTAL && +- this != Blocks.END_GATEWAY && +- this != Blocks.MOVING_PISTON; // try to prevent creation of headless pistons ++ this != Blocks.END_GATEWAY; //&& ++ //this != Blocks.MOVING_PISTON; // try to prevent creation of headless pistons // try to unprevent + } + public co.aikar.timings.Timing timing; + public co.aikar.timings.Timing getTiming() {