Create 0566-Unfixed-moving-piston.patch #6
21
Paper/SteamWar-Patches/0566-Unfixed-moving-piston.patch
Normale Datei
21
Paper/SteamWar-Patches/0566-Unfixed-moving-piston.patch
Normale Datei
@ -0,0 +1,21 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Zeanon <thezeanon@gmail.com>
|
||||||
|
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
|
||||||
Lixfel markierte diese Unterhaltung als gelöst
|
|||||||
|
+ 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() {
|
In neuem Issue referenzieren
Einen Benutzer sperren
Ist dieser Codeblock Teil einer Modifikation von Bukkit/Spigot oder Vanilla-MC Source?