geforkt von Mirrors/Paper
b62dfa0bf9
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 39ce5d3a SPIGOT-4399: ItemMeta.equals broken with AttributeModifiers CraftBukkit Changes:1cf8b5dc
SPIGOT-4400: Populators running on existing chunks116cb9a1
SPIGOT-4399: Add attribute modifier equality test5ee1c18a
SPIGOT-4398: Set ASM7_EXPERIMENTAL flag
23 Zeilen
875 B
Diff
23 Zeilen
875 B
Diff
From d16c6f5c1f93734f221c943a494052986672bd60 Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Thu, 19 Jul 2018 01:05:00 -0400
|
|
Subject: [PATCH] Don't change the Entity Random seed for squids
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntitySquid.java b/src/main/java/net/minecraft/server/EntitySquid.java
|
|
index 2dfa794a3f..522ce36cba 100644
|
|
--- a/src/main/java/net/minecraft/server/EntitySquid.java
|
|
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
|
|
@@ -22,7 +22,7 @@ public class EntitySquid extends EntityWaterAnimal {
|
|
public EntitySquid(World world) {
|
|
super(EntityTypes.SQUID, world);
|
|
this.setSize(0.8F, 0.8F);
|
|
- this.random.setSeed((long) (1 + this.getId()));
|
|
+ //this.random.setSeed((long) (1 + this.getId())); // Paper
|
|
this.bI = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
|
}
|
|
|
|
--
|
|
2.19.0
|
|
|