Commit Graph

10 Commits

Author SHA1 Message Date
3d9d0a7227 Optimize Hoppers
- Lots of itemstack cloning removed. Only clone if the item is actually moved
- Return true when a plugin cancels inventory move item event instead of false, as false causes pulls to cycle through all items.
  However, pushes do not exhibit the same behavior, so this is not something plugins could of been relying on.
- Add option (Default on) to cooldown hoppers when they fail to move an item due to full inventory
- Skip subsequent InventoryMoveItemEvents if a plugin does not use the item after first event fire for an iteration
2018-01-18 01:00:51 -05:00
c93e1ee068 Update upstream B/CB/S 2018-01-10 23:31:19 -06:00
5ce5ef1c9f Update to 1.12.2, May the Tacos be with you 2017-09-18 12:04:01 +01:00
1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
4340ef97ca Switch to a bStats based Metrics system 2017-03-25 00:22:02 -05:00
048e964b41 Fix double lock in ServerConnection 2016-11-26 22:06:23 -06:00
2ee4beaa3a Cleanup obfuscation helper comment format 2016-07-27 17:46:02 -05:00
9b192b2708 Update to Minecraft 1.10 2016-06-08 22:57:14 -05:00
cac7bbc139 Remove unneeded mob spawn cap patch - Fixes #235
I misread the code and thought the code kept looping until the mob spawn cap was hit.

Upon furthur review, this is not true, so this patch doesn't do anything sane.
2016-05-27 21:35:28 -04:00
8bee892ded Avoid blocking on Network Manager creation
Fixes #294

Use a pending list to handle new connections so that the netty threads
do not block waiting for the main thread to finish ticking
2016-05-16 23:21:26 -04:00