Zeplar Posted September 27, 2017 Share Posted September 27, 2017 (edited) I have a WorldTickEvent that iterates over players. I was seeing some bugs so I have it printing the size of the player list.... it (consistently) gives me the sequence 000011000011000011. Really 001 since the world ticks twice per "tick". Why is my player list empty 2/3 of the time? @SubscribeEvent public static void onTick(TickEvent.WorldTickEvent event) { System.out.println("World: " + event.side.name() + " || Players: " + event.world.playerEntities.size()); } Edited September 27, 2017 by Zeplar Quote Link to comment Share on other sites More sharing options...
Zeplar Posted September 27, 2017 Author Share Posted September 27, 2017 (edited) aha should've waited another 2 minutes before posting it's the Nether and End ticking, isn't it (not sure how to check that) Edited September 27, 2017 by Zeplar Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.