Commit graph

2107 commits

Author SHA1 Message Date
CraftBukkit/Spigot
09f5487458 SPIGOT-2503: Optimize block set
By: md_5 <git@md-5.net>
2016-07-08 14:05:22 +10:00
CraftBukkit/Spigot
b46eb8a572 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE
By: md_5 <git@md-5.net>
2016-07-08 12:51:32 +10:00
CraftBukkit/Spigot
713c31929a Call EntityChangeBlockEvent for Fire Arrows hitting TNT
By: md_5 <git@md-5.net>
2016-07-08 11:20:15 +10:00
CraftBukkit/Spigot
9797cf7e43 SPIGOT-2490: Villager farming event
By: md_5 <git@md-5.net>
2016-07-08 11:12:40 +10:00
CraftBukkit/Spigot
6558543222 SPIGOT-2504: Save structure info for secondary worlds
By: md_5 <git@md-5.net>
2016-07-08 10:55:51 +10:00
CraftBukkit/Spigot
64ee97bc2f SPIGOT-2501: Remove period from default quit message
By: md_5 <git@md-5.net>
2016-07-07 10:43:49 +10:00
CraftBukkit/Spigot
52f38c04ff SPIGOT-1515: Use CUSTOM reason for GENERIC damage
By: md_5 <git@md-5.net>
2016-07-02 14:01:31 +10:00
CraftBukkit/Spigot
f2ad797555 SPIGOT-2474: Use .die() to set entity remove status
By: md_5 <git@md-5.net>
2016-07-02 11:24:14 +10:00
CraftBukkit/Spigot
7b2050e56f SPIGOT-1468: ENDER_PEARL SpawnReason
By: md_5 <git@md-5.net>
2016-07-01 12:30:28 +10:00
CraftBukkit/Spigot
3aeb832d79 SPIGOT-1373: Implement EntityTargetEvent for TEMPT.
This can be a high frequency event call. Use with care.

By: md_5 <git@md-5.net>
2016-07-01 11:40:42 +10:00
CraftBukkit/Spigot
d10a277066 SPIGOT-1364: sendMap should update entire map
By: md_5 <git@md-5.net>
2016-07-01 11:24:11 +10:00
CraftBukkit/Spigot
9f63f2a371 SPIGOT-1341: Cancelled cake interact decreases client hunger
By: md_5 <git@md-5.net>
2016-07-01 11:20:31 +10:00
CraftBukkit/Spigot
a9a318835b SPIGOT-1405: Call EntityChangeBlockEvent for Rabbits eating Carrots
By: md_5 <git@md-5.net>
2016-06-30 16:15:38 +10:00
CraftBukkit/Spigot
dc3f10a9a0 SPIGOT-1288: Sounds played for cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2016-06-30 15:39:58 +10:00
CraftBukkit/Spigot
36998be28a SPIGOT-1284: Run scheduler consistently within a tick
By: md_5 <git@md-5.net>
2016-06-30 15:20:04 +10:00
CraftBukkit/Spigot
7af7537763 SPIGOT-1283: Copy data directory on world import in case it's required
By: md_5 <git@md-5.net>
2016-06-30 15:13:32 +10:00
CraftBukkit/Spigot
66392c6d78 SPIGOT-1264: Spurious BlockFadeEvent
By: md_5 <git@md-5.net>
2016-06-30 14:47:05 +10:00
CraftBukkit/Spigot
51742aae6c SPIGOT-1224: InventoryClickEvent issues for containers opened during event
By: md_5 <git@md-5.net>
2016-06-30 14:27:49 +10:00
CraftBukkit/Spigot
4013505f8c SPIGOT-1181: Ensure Minecart command updates visually
By: md_5 <git@md-5.net>
2016-06-30 13:33:26 +10:00
CraftBukkit/Spigot
d6f72f0b27 SPIGOT-1132: Duplicate Minecart interact event
By: md_5 <git@md-5.net>
2016-06-30 13:26:22 +10:00
CraftBukkit/Spigot
acd31bf4fb SPIGOT-1129: Fix spawning leash hitch without adjacent block
By: md_5 <git@md-5.net>
2016-06-30 13:21:22 +10:00
CraftBukkit/Spigot
a44a8f29d0 SPIGOT-1599: Allow teleporting disconnected players
By: md_5 <git@md-5.net>
2016-06-30 13:01:37 +10:00
CraftBukkit/Spigot
8af31adf18 SPIGOT-2461: Call player tick specifically
By: md_5 <git@md-5.net>
2016-06-28 11:44:48 +10:00
CraftBukkit/Spigot
3c256b8c84 SPIGOT-2456: Don't wipe tiles if type is still the same
By: md_5 <git@md-5.net>
2016-06-27 11:25:49 +10:00
CraftBukkit/Spigot
f155cbbaf2 BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
2016-06-26 19:32:05 +10:00
CraftBukkit/Spigot
861ba7b0e9 Fix air setting block updates
By: md_5 <git@md-5.net>
2016-06-26 12:31:24 +10:00
CraftBukkit/Spigot
e6584da1b0 SPIGOT-1039: Improve DoubleChest semantics
By: md_5 <git@md-5.net>
2016-06-25 21:21:55 +10:00
CraftBukkit/Spigot
b020388b99 MC-100524: Fix log files getting overwritten
https://bugs.mojang.com/browse/MC-100524

Log files were previously overwritten when more than 7 were created on the same day.  This is caused by Log4J's default behavior with DefaultRolloverStrategy, which defaults to a max of 7.

While a max of 1000 doesn't fully stop this problem from happening, for 1000 log files in a single day to be reached the server would have to restart faster than once every 1.5 minutes, which is unlikely to happen.  So 1000 seems like a good limit.  A higher max isn't used because when it gets higher, there are performance hits due to the way Log4J checks for the next file.

By: Pokechu22 <Pokechu022@gmail.com>
2016-06-22 22:13:38 -07:00
CraftBukkit/Spigot
eecbca5942 MC-80966 / SPIGOT-957: Send additional lighting data
By: md_5 <git@md-5.net>
2016-06-25 20:44:12 +10:00
CraftBukkit/Spigot
a526b5311c SPIGOT-924: Compute attributes one last time after quitting
By: md_5 <git@md-5.net>
2016-06-25 20:38:13 +10:00
CraftBukkit/Spigot
f7d15d7d59 SPIGOT-611: Improve setBlock for tile->tile transitions
By: md_5 <git@md-5.net>
2016-06-25 20:16:48 +10:00
CraftBukkit/Spigot
5c425bc41d Bump MC version
By: md_5 <git@md-5.net>
2016-06-25 14:50:20 +10:00
CraftBukkit/Spigot
1908fefc12 Update to Minecraft 1.10.2
By: md_5 <git@md-5.net>
2016-06-25 11:54:17 +10:00
CraftBukkit/Spigot
26aaa4aceb SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.

By: Aikar <aikar@aikar.co>
2016-06-21 19:08:09 -04:00
CraftBukkit/Spigot
8e8c7d72aa SPIGOT-1319: Add EntityBreedEvent
By: Ryan Michela <deltahat@gmail.com>
2016-06-18 22:00:39 -07:00
CraftBukkit/Spigot
0628968019 Fix infinite loop when saving chunks
Running `/save-all flush` would start an infinite loop that prints:
    ThreadedAnvilChunkStorage (world): All chunks are saved

By: Jadon Fowler <ph4seaber@gmail.com>
2016-06-18 04:25:50 -07:00
CraftBukkit/Spigot
b62f1bfe83 Improvements to BookMeta API
* Added hasGeneration()
* Fixed `applyHash()` (used by `CraftMetaItem.hashCode()`) not taking generation into account
* Fixed `equalsCommon()` (used by `CraftMetaItem.equals()`) not taking generation into account

By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-14 22:40:46 +01:00
CraftBukkit/Spigot
c703d2431c SPIGOT-2414: Repeated disconnects
By: md_5 <git@md-5.net>
2016-06-15 13:45:11 +10:00
CraftBukkit/Spigot
bdf0aef528 SPIGOT-2405: Better event for combust due to fire
By: md_5 <git@md-5.net>
2016-06-15 13:31:35 +10:00
CraftBukkit/Spigot
b2c01f26da SPIGOT-2408: setTicksLived does not properly affect FallingSand
By: md_5 <git@md-5.net>
2016-06-13 18:16:15 +10:00
CraftBukkit/Spigot
c93d857872 SPIGOT-2385: RegionFileCache synchronization issues
By: md_5 <git@md-5.net>
2016-06-12 19:28:27 +10:00
CraftBukkit/Spigot
f5e45ed35f SPIGOT-2398: Armor stands still need to be treated special for gravity
By: md_5 <git@md-5.net>
2016-06-12 16:32:51 +10:00
CraftBukkit/Spigot
5c09622671 SPIGOT-2348: EntityTeleportEvent cancellation
By: md_5 <git@md-5.net>
2016-06-12 12:51:53 +10:00
CraftBukkit/Spigot
c9a10e68a1 SPIGOT-2322: Chunks generating with missing / corrupted data.
By: md_5 <git@md-5.net>
2016-06-12 12:28:08 +10:00
CraftBukkit/Spigot
2270b1425e SPIGOT-2397: More calls to VehicleEntityCollisionEvent
By: md_5 <git@md-5.net>
2016-06-12 10:45:03 +10:00
CraftBukkit/Spigot
3e6ba4f676 SPIGOT-1124: Changed To-Location on Teleport event ignored
By: minoneer <minoneer@gmail.com>
2016-05-30 21:29:10 +02:00
CraftBukkit/Spigot
989192ea0b SPIGOT-2376: Way to distinguish Zombie professions.
By: md_5 <git@md-5.net>
2016-06-11 12:07:17 +10:00
CraftBukkit/Spigot
ec0a8a1910 Add Player.stopSound
By: md_5 <git@md-5.net>
2016-06-11 09:13:54 +10:00
CraftBukkit/Spigot
5dffeea6ee SPIGOT-2381: Use custom spawnreason for dropItem
By: md_5 <git@md-5.net>
2016-06-12 10:26:48 +10:00
CraftBukkit/Spigot
bf1945bcfd SPIGOT-2389: Zombie.setVillager inverted
By: md_5 <git@md-5.net>
2016-06-12 10:14:25 +10:00