AT bullshit

This commit is contained in:
MiniDigger | Martin
2021-06-16 00:24:12 +02:00
parent 2eb94202ea
commit a1d90ea32f
48 changed files with 191 additions and 638 deletions

View File

@@ -30,11 +30,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.lastTick = MinecraftServer.currentTick; // CraftBukkit
this.conversionTime = ticksUntilWaterConversion;
@@ -0,0 +0,0 @@ public class Zombie extends Monster {
}
+ public boolean isSunSensitivePublic() { return this.isSunSensitive(); } // Paper - public getter
protected boolean isSunSensitive() {
public boolean isSunSensitive() {
- return true;
+ return this.shouldBurnInDay; // Paper - use api value instead
}
@@ -94,7 +92,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ @Override
+ public boolean shouldBurnInDay() {
+ return getHandle().isSunSensitivePublic();
+ return getHandle().isSunSensitive();
+ }
+
+ @Override