aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-API-Patches
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2020-03-03 05:28:35 +0000
committerShane Freeder <[email protected]>2020-03-03 05:34:30 +0000
commitccf1d5908fb24dd56ff46ada6e45ae5c4fbb5845 (patch)
tree3b776bb9d3d5a30c3a1528cb42415b1e3f4ef23a /Spigot-API-Patches
parent5ce1dd48e168c258d2fadba212f50db6fd5b7a2b (diff)
downloadPaper-ccf1d5908fb24dd56ff46ada6e45ae5c4fbb5845.tar.gz
Paper-ccf1d5908fb24dd56ff46ada6e45ae5c4fbb5845.zip
Prevent teleporting dead entities (#2803)
Diffstat (limited to 'Spigot-API-Patches')
-rw-r--r--Spigot-API-Patches/0192-add-hand-to-BlockMultiPlaceEvent.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/Spigot-API-Patches/0192-add-hand-to-BlockMultiPlaceEvent.patch b/Spigot-API-Patches/0192-add-hand-to-BlockMultiPlaceEvent.patch
index 89ea24ac59..34f3fa2648 100644
--- a/Spigot-API-Patches/0192-add-hand-to-BlockMultiPlaceEvent.patch
+++ b/Spigot-API-Patches/0192-add-hand-to-BlockMultiPlaceEvent.patch
@@ -1,4 +1,4 @@
-From 1735e9e48b344eb98d739f46cda33177ba37107e Mon Sep 17 00:00:00 2001
+From eeb73f0f817591d7385cc0db9bcc91e7b800f1f9 Mon Sep 17 00:00:00 2001
From: Trigary <[email protected]>
Date: Sun, 1 Mar 2020 22:43:34 +0100
Subject: [PATCH] add hand to BlockMultiPlaceEvent
@@ -11,7 +11,7 @@ index fe2ec79dd..8460aa4f5 100644
@@ -18,9 +18,17 @@ import org.jetbrains.annotations.NotNull;
public class BlockMultiPlaceEvent extends BlockPlaceEvent {
private final List<BlockState> states;
-
+
+ @Deprecated // Paper
public BlockMultiPlaceEvent(@NotNull List<BlockState> states, @NotNull Block clicked, @NotNull ItemStack itemInHand, @NotNull Player thePlayer, boolean canBuild) {
- super(states.get(0).getBlock(), states.get(0), clicked, itemInHand, thePlayer, canBuild);
@@ -25,7 +25,8 @@ index fe2ec79dd..8460aa4f5 100644
this.states = ImmutableList.copyOf(states);
+ //Paper end
}
-
+
/**
---
+--
2.25.0
+