mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Make ridables patch a little smaller
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 563416526b8844dbd95d748c683fe8cdf31611cd Mon Sep 17 00:00:00 2001
|
||||
From 2c8f624c37b9234a4c5f213a2f311dbc46fd6729 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sun, 12 May 2019 00:43:12 -0500
|
||||
Subject: [PATCH] Make giants naturally spawn and have AI
|
||||
@@ -55,7 +55,7 @@ index 317db4b12..69ba98b66 100644
|
||||
+ // Purpur end
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityGiantZombie.java b/src/main/java/net/minecraft/server/EntityGiantZombie.java
|
||||
index f45a5c2c7..3cfbc5c49 100644
|
||||
index e9962c2a7..f4e087890 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityGiantZombie.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityGiantZombie.java
|
||||
@@ -27,6 +27,26 @@ public class EntityGiantZombie extends EntityMonster {
|
||||
@@ -84,10 +84,10 @@ index f45a5c2c7..3cfbc5c49 100644
|
||||
+
|
||||
@Override
|
||||
public boolean a(EntityHuman entityhuman, EnumHand enumhand) { // processInteract
|
||||
if (super.a(entityhuman, enumhand)) {
|
||||
@@ -37,6 +57,6 @@ public class EntityGiantZombie extends EntityMonster {
|
||||
// Purpur end
|
||||
return super.a(entityhuman, enumhand) || tryRide(entityhuman, enumhand);
|
||||
@@ -35,6 +55,6 @@ public class EntityGiantZombie extends EntityMonster {
|
||||
|
||||
@Override
|
||||
public float a(BlockPosition blockposition, IWorldReader iworldreader) {
|
||||
- return iworldreader.w(blockposition) - 0.5F;
|
||||
+ return super.a(blockposition, iworldreader); // Purpur - fix light requirements for natural spawns
|
||||
|
||||
Reference in New Issue
Block a user