Commit Graph

12 Commits

Author SHA1 Message Date
Zach Brown 9bafd0634e Stop explicitly blocking Vanilla Method Profiler
At the time this was re-added, there was concern around how the JIT
would handle the system property that enabled it.

This shouldn't be a problem, and as such we no longer need to block
access to it.

The Vanilla Method Profiler will not provide much to most users however
there is no harm in providing it as an option. For most users, the
recommended and supported method for determining performance issues with
Paper will continue to be Timings.
2018-03-31 14:51:21 -04:00
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
Zach Brown fa8db475d6 Update upstream B/CB/S 2017-12-27 22:45:33 -06:00
Shane Freeder a907e21341 Update B/CB/S 2017-11-18 03:04:21 +00:00
Zach Brown 4424c3dec9 Rebuild patches 2017-09-06 22:59:08 -04:00
Aikar 64b2b87256 Upstream update 2017-08-07 23:05:16 -04:00
Shane Freeder fe649493e3 Update B/CB 2017-07-28 14:45:16 +01:00
Aikar 4265551308 Upstream update 2017-07-26 21:12:40 -04:00
Shane Freeder 43d46feb48 Update B/CB 2017-07-10 14:04:41 +01:00
Zach Brown 1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
sweepyoface 5d51c00fac Add UnknownCommandEvent (#746) 2017-06-17 20:53:31 -04:00