From 60c10ef248a2f571f4653363155e1eefdeab23ff Mon Sep 17 00:00:00 2001 From: morsmordere <35617773+morsmordere@users.noreply.github.com> Date: Thu, 25 Jun 2020 20:23:47 -0400 Subject: Cactus cannot be placed on a forbidden blocks (#4767) Co-authored-by: Franklin T Kong Co-authored-by: aiugai Fixes #4641 Overrode GetPlacementBlockTypeMeta for CactusBlock, which gets called before a player places the cactus block, so it returns true if the placement is allowed or false if not, in which case the cactus does not drop as a block but stays in the player's hand which is the expected behavior. Tested in Minecraft client 1.12.2. --- CONTRIBUTORS | 1 + 1 file changed, 1 insertion(+) (limited to 'CONTRIBUTORS') diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 85038b364..37e1ca5bf 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -43,6 +43,7 @@ mBornand MeMuXin mgueydan MikeHunsinger +morsmordere (Anzhelika Iugai) mtilden nesco NiLSPACE (formerly STR_Warrior) -- cgit v1.2.3