Commit Graph

19 Commits

Author SHA1 Message Date
9ce19f0321 NOT FINISHED: Current progress, updated upstream 2018-07-18 00:52:33 -04:00
c8d8659ad3 NOT WORKING! Even even more patches! 2018-07-17 21:32:05 +01:00
7754b35d8f Don't send digged block updates for unloaded chunks 2018-07-12 15:19:33 +01:00
8778a2ef97 Current Chunk for Entity and Block Entities, counts by entity type
This enables us a fast reference to the entities current chunk instead
of having to look it up by hashmap lookups.

We also store counts by type to further enable other performance optimizations in later patches.
2018-07-04 03:55:24 -04:00
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
3a9f17bc4b Anti Xray v2 (#858) 2017-10-05 14:38:21 +01:00
5ce5ef1c9f Update to 1.12.2, May the Tacos be with you 2017-09-18 12:04:01 +01:00
01d1cc351b Update to 1.12.1 2017-08-03 16:36:06 +02:00
1c208bf05b Update upstream CB/S 2017-06-18 20:36:55 -05:00
9cf2e3b3dc Update to 1.12-pre6 2017-05-31 09:04:52 +01:00
b39f2133a1 Update Paper to MC 1.12-pre5 2017-05-20 23:41:39 -05:00
ab4ae72fd5 Update to MC 1.12-pre2 2017-05-14 13:05:01 -05:00
64b19558b6 Remove last bit of chunk exists region file fix
CraftBukkit removed their implementation that caused this issue,
switching to Mojang's implementation which doesn't appear to share it. I
already removed the important bit in the last upstream merge, this is
just unused and unnecessary now. So we remove it.
2017-04-29 05:27:31 -05:00
4200b785dc Remove Ignore invalid Marker Icon ID's in maps
Spigot has patched this issue inside MapIcon, meaning that we no longer need to maintain this patch; Spigots patch also fixes #668 in that it will verify the length of the array, as well as protect against a negative type value being fetched from the array. Only real change is that Spigots patch returns a MapIcon.Type.PLAYER, instead of the RED_MARKER as originally PR'd by Aikar.
2017-04-22 15:32:06 +01:00
90927cd654 Update upstream B/CB 2017-04-20 08:22:08 -05:00
de6a101264 Update upstream B/CB/S
Adds /paper command for reloading the paper config.
Closes GH-639

Per-world config logging has been removed in favor of all or nothing
logging for all paper settings. I don't believe it was used enough to
warrant maintaining. If this is not the case it should be possible to
re-add it.
2017-03-24 22:18:58 -05:00
013c024ca2 Update upstream CB 2017-01-28 17:36:03 -06:00
bb6dc9d970 Fix block break desync 2017-01-08 18:52:48 +11:00