mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Cleanup comments, formatting, etc
This commit is contained in:
1 parent
7c40a073d8
commit
5f089137ee
148 files changed
+420
-470
No files matched your search
@@ -68,7 +68,7 @@ public final class SpawnerCreature {
|
||||
for (int j1 = 0; j1 < j; ++j1) {
|
||||
EnumCreatureType enumcreaturetype = aenumcreaturetype[j1];
|
||||
|
||||
// CraftBukkit start - use per-world spawn limits
|
||||
// CraftBukkit start - Use per-world spawn limits
|
||||
int limit = enumcreaturetype.b();
|
||||
switch (enumcreaturetype) {
|
||||
case MONSTER:
|
||||
@@ -154,7 +154,7 @@ public final class SpawnerCreature {
|
||||
entityliving.setPositionRotation((double) f, (double) f1, (double) f2, worldserver.random.nextFloat() * 360.0F, 0.0F);
|
||||
if (entityliving.canSpawn()) {
|
||||
++j2;
|
||||
// CraftBukkit start - added a reason for spawning this creature, moved a(entityliving, world...) up
|
||||
// CraftBukkit start - Added a reason for spawning this creature, moved a(entityliving, world...) up
|
||||
a(entityliving, worldserver, f, f1, f2);
|
||||
worldserver.addEntity(entityliving, SpawnReason.NATURAL);
|
||||
// CraftBukkit end
|
||||
@@ -236,7 +236,7 @@ public final class SpawnerCreature {
|
||||
}
|
||||
|
||||
entityliving.setPositionRotation((double) f, (double) f1, (double) f2, random.nextFloat() * 360.0F, 0.0F);
|
||||
// CraftBukkit start - added a reason for spawning this creature, moved a(entity, world...) up
|
||||
// CraftBukkit start - Added a reason for spawning this creature, moved a(entity, world...) up
|
||||
a(entityliving, world, f, f1, f2);
|
||||
world.addEntity(entityliving, SpawnReason.CHUNK_GEN);
|
||||
// CraftBukkit end
|
||||
|
||||
Reference in new issue
Block a user