Fix world spawn fuzz. (reverted from commit 450c3a80c1)

Protip Don't code while groggy.
This commit is contained in:
LexManos 2017-02-12 12:16:45 -08:00
parent 450c3a80c1
commit 4a6b3ef6e3

View file

@ -190,7 +190,7 @@
+ { + {
+ if (spawnFuzz < 2) spawnFuzz = 2; + if (spawnFuzz < 2) spawnFuzz = 2;
+ int spawnFuzzHalf = spawnFuzz / 2; + int spawnFuzzHalf = spawnFuzz / 2;
+ ret = field_76579_a.func_175672_r(ret.func_177982_a(field_76579_a.field_73012_v.nextInt(spawnFuzz) - spawnFuzzHalf, 0, field_76579_a.field_73012_v.nextInt(spawnFuzz) - spawnFuzzHalf)); + ret = field_76579_a.func_175672_r(ret.func_177982_a(field_76579_a.field_73012_v.nextInt(spawnFuzzHalf) - spawnFuzz, 0, field_76579_a.field_73012_v.nextInt(spawnFuzzHalf) - spawnFuzz));
+ } + }
+ +
+ return ret; + return ret;