Commit Graph

15 Commits

Author SHA1 Message Date
Aikar 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
Zach Brown c93e1ee068 Update upstream B/CB/S 2018-01-10 23:31:19 -06:00
stonar96 3a9f17bc4b Anti Xray v2 (#858) 2017-10-05 14:38:21 +01:00
Zach Brown 1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
Zach Brown 013c024ca2 Update upstream CB 2017-01-28 17:36:03 -06:00
Zach Brown cd80c0a2f7 Fix a merge conflict that was resolved improperly 2016-12-20 18:01:37 -06:00
Zach Brown ec68dfff5a Update Paper to MC 1.11.1 2016-12-20 16:34:27 -06:00
Techcable e0ada11f1e Change base variables in BlockPos to force diff 2016-12-16 19:53:35 -06:00
Techcable d0cfdc4c62 Speedup BlockPos by fixing inlining 2016-11-30 20:57:02 -06:00
Aikar 34fcd8ccc2 Paper 1.9.4 Update 2016-05-11 22:07:46 -04:00
Byteflux d242dca587 Fix decompile errors in mc-dev imports patch 2016-03-24 19:57:01 -07:00
Techcable d78781c869 Re-add BlocksPos inlining patch 2016-03-07 16:00:29 -06:00
Zach Brown 26eb457a39 Paper 1.9 2016-02-29 17:09:49 -06:00
Techcable 25fcb2cf47 Fix mutable block position construction
Should fix #3
2016-01-29 13:49:01 -07:00
Techcable aea26a3f89 Speedup BlockPos by fixing inlining 2016-01-29 03:26:31 -06:00