aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0241-Don-t-change-the-Entity-Random-seed-for-squids.patch
blob: 6b945b03347af72ef6b6f1863f9238b7270a6db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 0000000000000000000000000000000000000000 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 9c9ec8226ab43beaae0ef4abc97632b503e2120c..c9c0b2ab265666986cdedf920955ee55ebbedaf3 100644
--- a/src/main/java/net/minecraft/server/EntitySquid.java
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
@@ -21,7 +21,7 @@ public class EntitySquid extends EntityWaterAnimal {
 
     public EntitySquid(EntityTypes<? extends EntitySquid> entitytypes, World world) {
         super(entitytypes, world);
-        this.random.setSeed((long) this.getId());
+        //this.random.setSeed((long) this.getId()); // Paper
         this.bB = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
     }