pestcontrol: Remove pre-sized array

This commit is contained in:
sdburns1998
2019-07-07 17:36:10 +02:00
parent aee3bcd42d
commit 5ebef01e81

View File

@@ -147,7 +147,7 @@ public class Game
} }
} }
possibleRotations = rotations.toArray(new PortalRotation[rotations.size()]); possibleRotations = rotations.toArray(new PortalRotation[0]);
} }
private void killPortal(Portal portal) private void killPortal(Portal portal)