Commit graph

1147 commits

Author SHA1 Message Date
CraftBukkit/Spigot
b83b867dbb SPIGOT-3686: Move entity event call earlier in method
By: md_5 <git@md-5.net>
2017-12-09 17:32:19 +11:00
CraftBukkit/Spigot
41e68bf772 Fix missing event call for BlockRedstoneLamp
By: md_5 <git@md-5.net>
2017-12-07 10:59:30 +11:00
CraftBukkit/Spigot
939f54a01e SPIGOT-3674: Take into account max stack size for PlayerDropItemEvent
By: md_5 <git@md-5.net>
2017-12-03 08:55:19 +11:00
CraftBukkit/Spigot
48f3ad297b SPIGOT-3668: Missing EntityToggleGlideEvent in creative mode
By: md_5 <git@md-5.net>
2017-11-28 09:33:40 +11:00
CraftBukkit/Spigot
1256b90fd8 SPIGOT-1505: PlayerItemMendEvent
By: Senmori <thesenmori@gmail.com>
2017-11-21 10:17:31 +11:00
CraftBukkit/Spigot
be94470a9f Fix mismatched setArrowCount method
By: md_5 <git@md-5.net>
2017-11-17 11:03:30 +11:00
CraftBukkit/Spigot
c0ef3e197d Fix dispensing bone meal not having the correct data value
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-02-06 21:59:20 +00:00
CraftBukkit/Spigot
4a0e197bb8 Implement max fuse tick & explosion radius methods to Creeper
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-11-07 07:38:58 -05:00
CraftBukkit/Spigot
3a788673df SPIGOT-3638: Don't process async chat on shutting down server
By: md_5 <git@md-5.net>
2017-11-08 10:36:11 +11:00
CraftBukkit/Spigot
f7d75ce15b SPIGOT-3637: Adjust yaw yet again
By: md_5 <git@md-5.net>
2017-11-07 17:21:38 +11:00
CraftBukkit/Spigot
62c185e909 Fix bad diff
By: md_5 <git@md-5.net>
2017-10-13 21:47:55 +11:00
CraftBukkit/Spigot
30cdbb75b6 SPIGOT-3607: Bad yaw from armorstands treated as living
By: md_5 <git@md-5.net>
2017-10-13 21:36:32 +11:00
CraftBukkit/Spigot
01186b718b SPIGOT-3603: Fix client timing out in scenarios where it sends no packets.
By: md_5 <git@md-5.net>
2017-10-09 18:23:58 +11:00
CraftBukkit/Spigot
dd5c01cf48 SPIGOT-3598: Persist all beacon effects
Regardless of if they are possible in Vanilla by default.

By: blablubbabc <lukas@wirsindwir.de>
2017-10-07 00:27:39 +02:00
CraftBukkit/Spigot
ec331ba7fd Temporarily shift L7 timeout value to L4 value of 30s.
By: md_5 <git@md-5.net>
2017-10-06 20:49:22 +11:00
CraftBukkit/Spigot
70fc6df507 Supress harmless teleport error
By: md_5 <git@md-5.net>
2017-10-01 17:29:03 +11:00
CraftBukkit/Spigot
fee051b1a3 SPIGOT-3571: Packet handling must be synchronous
By: md_5 <git@md-5.net>
2017-09-19 08:00:56 +10:00
CraftBukkit/Spigot
5e3ba4ff73 Update to Minecraft 1.12.2
By: md_5 <git@md-5.net>
2017-09-18 20:00:00 +10:00
CraftBukkit/Spigot
3c5675eaa3 SPIGOT-3513: Correctly set size for freshly spawned Minecarts
By: md_5 <git@md-5.net>
2017-08-16 20:47:23 +10:00
CraftBukkit/Spigot
0d13d3970d Fix a few chunk saving race conditions
* ChunkRegionLoader.c() picks an entry in the save queue, removes that entry from the save queue and then actually writes the entry to the region file. So, between the last two steps, the entry is neither in the save queue nor is it in the region file; if somebody loads the chunk again (with ChunkRegionLoader.loadChunk()) in that gap, they'll get old data. I've delayed the removal until the saving is done.
* ChunkRegionLoader.c() also records the coords of the chunks it's currently saving in this.c. ChunkRegionLoader.a(ChunkCoordIntPair, NBTTagCompound), which adds an entry to the save queue, stops the addition of an entry if its coords are in this.c. Now, I'm guessing that Mojang's intended purpose for this mechanism was to prevent multiple parallel writes for the same chunk. The "stops the addition" bit above should then be something like "block until it's no longer in c"; in fact, the vanilla implementation is "discard the new state of the chunk". I've taken the easy route to solving this, by just making ChunkRegionLoader.c() synchronized (since, in normal use, only the chunk saving thread is in here).

By: Geoff Crossland <gcrossland+bukkit@gmail.com>
2017-08-11 17:27:33 +10:00
CraftBukkit/Spigot
fa26f3f501 SPIGOT-3497: Cancelled EntityPortalEvent leads to incorrect behaviour
By: md_5 <git@md-5.net>
2017-08-08 20:35:29 +10:00
CraftBukkit/Spigot
fafbd8532d SPIGOT-3496, MC-92282: Set mob type of mob-spawner reverts after single spawn wave.
Fixes CreatureSpawner.setSpawnedType and a vanilla issue related to
setting the mob type of a mob-spawner via spawn_egg.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-08 04:46:59 +02:00
CraftBukkit/Spigot
89b3d6e8a6 SPIGOT-3491: Add option to bypass permissions in advancements
By: md_5 <git@md-5.net>
2017-08-06 09:07:24 +10:00
CraftBukkit/Spigot
8844b9ade9 Improvements to BlockStates
* Actually capture all the data of TileEntities. This is done by creating a copy of the TileEntity. The methods of BlockState which currently directly access the TileEntity reference will modify the data of that TileEntity-snapshot instead.
* With the call to BlockState.update, the captured TileEntity data gets applied to the current TileEntity in the world.
* Methods which trigger block specific actions will use the current TileEntity from the world.
* CraftBlockState does not hand out the wrapped or the snapshot TileEntity directly. Instead, it provides an applyTo method to copy the data to a given TileEntity and a method to directly get a copy of the TileEntity NBT data represented by the BlockState. CraftMetaBlockState was updated to make use of that.
* Added #getSnapshotInventory() to bukkit which allows modifiying the captured inventory snapshots of containers.
* Tried to clarify which methods only work if the BlockState is placed, which methods require the block in the world to still be of the same type (methods which trigger actions), and that .getInventory() directly modifies the inventory of the block in the world if the BlockState is placed and becomes invalid if the block type is changed.

Backwards compatibility

* If the BlockState acts as InventoryHolder, getInventory() will still return the inventory directly backed by the TileEntity in the world (like before), and not the snapshot inventory. This compromise should reduce the potential of these changes to break existing plugins, or craftbukkit's own use of BlockState.
* The snapshot's inventory can be accessed by a new method getSnapshotInventory()
* In case the BlockState is not placed (if it was retrieved from the MetaBlockState of an item), the getInventory() method will however return the snapshot inventory. So that when the BlockState gets applied back to the item, the inventory changes are properly included.
* With the changes to CraftMetaBlockState it is no longer required to call the update method before passing a modified BlockState to the CraftMetaBlockState. For backwards compatibility the update method will simply return true for a non-placed BlockState, without actually doing anything.

Impact on plugins
* Restoring blocks now actually works as expected, properly restoring the TileEntity data, reglardless if the block changed its type in the meantime.
* Plugins are now consistently required to call the update method in order to apply changes to blocks. Though, regarding the Javadoc they should have been required to do so anyways.
* New feature: Plugins can take and modify inventory snapshots.
* Breaking change: If a plugin gets the BlockState of a block in the world, modifies the inventory returned by .getInventory(), and then tries to use the same BlockState to apply the TileEntity data to an ItemStack block meta, the ItemStack will use the snapshot inventory, disregarding the changes made to the inventory returned by .getInventory(). This is the compromise of .getInventory() returning the inventory directly backed by the TileEntity in the world.

Other fixes related to BlockState:
* TileEntityContainer#getLocation() will run into a NPE if the TileEntity is non-placed (ex. when getting the BlockState from a CraftMetaBlockState).
* Beacon.getEntitiesInRange() would previously throw a NPE if called for a non-placed BlockState. It was changed to now require to be placed and use the current TileEntity in the world. If the TileEntity in the world is no longer a beacon, it will return an empty list.
* EndGateway now supports setting and getting the exit location even for non-placed EndGateways (inside BlockStateMeta) by using / returning a location with world being null.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-05 14:37:19 +10:00
CraftBukkit/Spigot
0f46337664 SPIGOT-3492: Ensure player functionality uses their specific scoreboard
By: md_5 <git@md-5.net>
2017-08-05 09:15:52 +10:00
CraftBukkit/Spigot
0cda4f9617 Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
2017-08-03 23:00:00 +10:00
CraftBukkit/Spigot
19850b49b5 SPIGOT-3486: Missing check in redstone placement
By: md_5 <git@md-5.net>
2017-08-03 08:31:29 +10:00
CraftBukkit/Spigot
6f93c6c962 SPIGOT-3487: Llama doesn't drop chest
By: md_5 <git@md-5.net>
2017-08-03 08:21:05 +10:00
CraftBukkit/Spigot
ead7545014 SPIGOT-3482: ProjectileHitEvent for shulker bullet and llama spit
By: md_5 <git@md-5.net>
2017-08-02 18:05:28 +10:00
CraftBukkit/Spigot
f313e2f969 SPIGOT-3456: Expand calling of ServerCommandEvent
Existing usage preserved by checking sender.

By: md_5 <git@md-5.net>
2017-07-28 18:10:38 +10:00
CraftBukkit/Spigot
75cdf75d3d SPIGOT-3403: Add an EntityPickupItemEvent
By: md_5 <git@md-5.net>
2017-07-28 17:47:59 +10:00
CraftBukkit/Spigot
4ed8997ca1 SPIGOT-3463: Spurious item drops from event
By: md_5 <git@md-5.net>
2017-07-28 17:23:39 +10:00
CraftBukkit/Spigot
aba05b661c SPIGOT-3461: Standardise plugin load timing
By: md_5 <git@md-5.net>
2017-07-26 13:20:29 +10:00
CraftBukkit/Spigot
f4e233550c SPIGOT-3432: Add playNote support for new sounds
By: md_5 <git@md-5.net>
2017-07-24 17:41:08 +10:00
CraftBukkit/Spigot
cdcb11b8ae SPIGOT-3440: Non player entities should not make new portals
By: md_5 <git@md-5.net>
2017-07-22 16:40:10 +10:00
CraftBukkit/Spigot
8bafc76ff2 SPIGOT-3433: Improve AreaEffectCloud#getSource
By: md_5 <git@md-5.net>
2017-07-22 09:51:22 +10:00
CraftBukkit/Spigot
e2d75dccb4 Fix memory leak in PlayerList
By: md_5 <git@md-5.net>
2017-07-17 09:55:47 +10:00
CraftBukkit/Spigot
7145fd4941 SPIGOT-3417: Event for shearing snowman
By: md_5 <git@md-5.net>
2017-07-15 09:53:22 +10:00
CraftBukkit/Spigot
e626522be7 SPIGOT-3407: Set damager for evoker fangs
By: md_5 <git@md-5.net>
2017-07-08 22:40:54 +10:00
CraftBukkit/Spigot
a7130c67fd SPIGOT-3382: Ensure players can pickup stuff
By: md_5 <git@md-5.net>
2017-06-26 11:21:38 +10:00
CraftBukkit/Spigot
13bcc894ec SPIGOT-3377: Fix subspace bubble advancement
By: md_5 <git@md-5.net>
2017-06-26 10:16:54 +10:00
CraftBukkit/Spigot
71404da149 SPIGOT-3379: Generalise canPickupItems to other entities.
By: md_5 <git@md-5.net>
2017-06-26 08:34:52 +10:00
CraftBukkit/Spigot
d62c91e3a6 SPIGOT-3376: Fix nested functions
By: md_5 <git@md-5.net>
2017-06-26 08:27:25 +10:00
CraftBukkit/Spigot
4d6887228e SPIGOT-3373: Fix /execute in gameloop functions
By: md_5 <git@md-5.net>
2017-06-25 09:46:19 +10:00
CraftBukkit/Spigot
622d0477c5 SPIGOT-3324: Improve tameable damage handling
By: md_5 <git@md-5.net>
2017-06-24 10:01:46 +10:00
CraftBukkit/Spigot
d71a1a4036 SPIGOT-3368: Allow anvil level cost to be overwritten by properties
By: md_5 <git@md-5.net>
2017-06-23 20:35:17 +10:00
CraftBukkit/Spigot
d3b6e87d27 SPIGOT-3364: Correct EntityResurrectEvent
By: md_5 <git@md-5.net>
2017-06-23 12:47:29 +10:00
CraftBukkit/Spigot
ff815b0065 Fix nether world border center not adjusting
By: md_5 <git@md-5.net>
2017-06-18 19:23:33 +10:00
CraftBukkit/Spigot
11f9d4e49b SPIGOT-3329: Allow per world loot tables
By: md_5 <git@md-5.net>
2017-06-15 20:34:19 +10:00
CraftBukkit/Spigot
eb7eb4ba47 SPIGOT-3337: Use special data value to indicate multiple recipe choices
By: md_5 <git@md-5.net>
2017-06-15 07:23:08 +10:00
CraftBukkit/Spigot
3770ac47cf Fix detection of missing or invalid tile entities for End portals and gateways
By: Jacob Martin <jjm_223@hotmail.com>
2017-06-12 12:41:18 -05:00
CraftBukkit/Spigot
1121a78705 SPIGOT-3328: EntityTameEvent for Parrots
By: md_5 <git@md-5.net>
2017-06-12 07:27:34 +10:00
CraftBukkit/Spigot
e422dbe810 SPIGOT-3324: Best effort fix for shoulder Parrots + cancelled damage event
By: md_5 <git@md-5.net>
2017-06-11 12:20:18 +10:00
CraftBukkit/Spigot
731f084c5b SPIGOT-3320: Apply tile entity fixer to more types
By: md_5 <git@md-5.net>
2017-06-11 08:32:29 +10:00
CraftBukkit/Spigot
c354c54394 SPIGOT-3304: Respect duration from Vanilla /weather
By: md_5 <git@md-5.net>
2017-06-09 16:17:08 +10:00
CraftBukkit/Spigot
47947b0f3b SPIGOT-3303: Warn when attempting to grant non existent recipe
By: md_5 <git@md-5.net>
2017-06-09 16:13:35 +10:00
CraftBukkit/Spigot
f1d918e0ec SPIGOT-3302: Armor stands not dropping armor
By: md_5 <git@md-5.net>
2017-06-09 15:51:56 +10:00
CraftBukkit/Spigot
ea595a5dcf Update to Minecraft 1.12
By: md_5 <git@md-5.net>
2017-06-08 18:00:00 +10:00
CraftBukkit/Spigot
7b45ff54ad Prevent NPE when setting tempt target to null
By: chickeneer <emcchickeneer@gmail.com>
2017-06-03 00:44:10 -05:00
CraftBukkit/Spigot
f25ad2b556 Add proper TeleportCause for /teleport
By: md_5 <git@md-5.net>
2017-06-04 08:39:36 +10:00
CraftBukkit/Spigot
d67c53a34d SPIGOT-3290: /teleport command overrides player rotation
By: md_5 <git@md-5.net>
2017-06-04 08:34:52 +10:00
CraftBukkit/Spigot
1bcf144211 SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete
By: md_5 <git@md-5.net>
2017-06-03 17:39:03 +10:00
CraftBukkit/Spigot
ea6ca4328a Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
2017-05-30 21:25:59 +10:00
CraftBukkit/Spigot
d6fc1359a2 Add support for preventing block drops in BreakEvent
By: Scetra <contact@scetra.me>
2017-05-27 21:16:13 -04:00
CraftBukkit/Spigot
57f7c8fb18 Add color API for Teams
By: md_5 <git@md-5.net>
2017-05-28 11:00:02 +10:00
CraftBukkit/Spigot
a6491eb83e SPIGOT-3272: Fix duplicate creative inventory
This change properly identifies the creative inventory as one with 5 crafting slots (as that's the default set in ContainerPlayer, and handled properly in other containers), instead of having the same inventory twice (which breaks slot identification).

By: Pokechu22 <Pokechu022@gmail.com>
2017-05-26 20:20:59 -07:00
CraftBukkit/Spigot
07fc30bf6d SPIGOT-439: Add player locale related APIs.
By: MiniDigger <admin@minidigger.me>
2017-05-26 23:37:06 +02:00
CraftBukkit/Spigot
691c25561d Ensure gameLoop function gets selectors applied.
By: md_5 <git@md-5.net>
2017-05-26 16:43:56 +10:00
CraftBukkit/Spigot
0fc0496730 SPIGOT-3257: Issue with AdvancementRewards function
By: md_5 <git@md-5.net>
2017-05-21 10:28:07 +10:00
CraftBukkit/Spigot
31553d7ef7 SPIGOT-3258: VehicleBlockCollisionEvent only fires in certain directions
By: md_5 <git@md-5.net>
2017-05-21 10:24:47 +10:00
CraftBukkit/Spigot
a0b8ce2dc9 SPIGOT-3254: Check chunks are loaded before ticking entities as per previous versions.
By: md_5 <git@md-5.net>
2017-05-20 11:27:48 +10:00
CraftBukkit/Spigot
530fe41851 Update to Minecraft 1.12-pre5
By: md_5 <git@md-5.net>
2017-05-19 21:00:13 +10:00
CraftBukkit/Spigot
5317a74e0a Misc advancement / recipe reload fixes including SPIGOT-3240
By: md_5 <git@md-5.net>
2017-05-16 21:22:07 +10:00
CraftBukkit/Spigot
654b7c21fa SPIGOT-3243: Remove recipe reset on world change / death
By: md_5 <git@md-5.net>
2017-05-15 18:11:48 +10:00
CraftBukkit/Spigot
036d5985ab SPIGOT-3242: Fix rain not showing client side
By: md_5 <git@md-5.net>
2017-05-15 15:01:05 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
88f459dc51 SPIGOT-3235: Disconnect for payload errors
By: md_5 <git@md-5.net>
2017-05-14 09:25:25 +10:00
CraftBukkit/Spigot
8803cfc46a SPIGOT-3215: Call BlockPhysicsEvent for tall plants
By: BlackHole <black-hole@live.com>
2017-05-01 01:21:20 +02:00
CraftBukkit/Spigot
f965ee5c7f Implement getColor / setColor for Shulker entity
By: Matthew <stteg@hotmail.com>
2017-04-29 17:11:43 -04:00
CraftBukkit/Spigot
c5b0a788e9 SPIGOT-3207: Fix hiding players in a BukkitRunnable after joining
This happened because "joining" wasn't cleared until the player was ticked.  Runnables (presumably) ran _after_ the player list packet was sent, but before the player was ticked; thus, the player list packet was sent, but not cleared.  The fix is to replace joining with hasSentListPacket, which is set immediately before sending any player list packets (thus, if hidePlayer is called after, it sees that the list packet has been sent and sends a new one to reset it).  With this fix, the player is added to the list and then removed shortly afterwards.

The reason why running /hideall in the example wouldn't fix the invisibility is because the server already thinks the player's been removed from the list (as they're hidden), and thus doesn't want to send another hide packet.  This is correct behavior assuming that they get hidden correctly the first time, which they now do.

By: Pokechu22 <Pokechu022@gmail.com>
2017-04-27 21:53:31 -07:00
CraftBukkit/Spigot
0f12ccbdba Drop RegionFile.chunkExists() in favour of Mojang's own version
By: Geoff Crossland <gcrossland+bukkit@gmail.com>
2017-01-31 23:52:21 +00:00
CraftBukkit/Spigot
7baa3d8ac1 Implement getColor / setColor for TippedArrow
By: Matthew <stteg@hotmail.com>
2017-04-26 20:28:27 -04:00
CraftBukkit/Spigot
596875c55b Reset player arrow count on death
By: md_5 <git@md-5.net>
2017-04-26 15:56:06 +10:00
CraftBukkit/Spigot
14c31d360f Remove players from vehicle when changing world via NMS methods.
By: md_5 <git@md-5.net>
2017-04-21 14:56:41 +10:00
CraftBukkit/Spigot
66b6964877 SPIGOT-3192: Return default value for invalid map icons
By: md_5 <git@md-5.net>
2017-04-21 08:20:49 +10:00
CraftBukkit/Spigot
fab1910b0a Add small throttle to book edits.
By: md_5 <git@md-5.net>
2017-04-20 22:10:31 +10:00
CraftBukkit/Spigot
8d75072425 Implement cooldown API
By: md_5 <git@md-5.net>
2017-04-19 18:04:32 +10:00
CraftBukkit/Spigot
16807cc431 SPIGOT-3182: Fix tab-completion in command blocks without leading slash
By: Pokechu22 <Pokechu022@gmail.com>
2017-04-13 17:57:47 -07:00
CraftBukkit/Spigot
4d80529e9a Fixes to mob equipment behaviour
* Set correct flag for CanPickUpLoot on NBT load
* Drop previous equipment on mob equipment pickup

By: Jacob Martin <jjm_223@hotmail.com>
2017-04-08 18:05:32 -05:00
CraftBukkit/Spigot
cc67baddeb SPIGOT-3165: Only increment spawncount when mob spawn succeeds
By: md_5 <git@md-5.net>
2017-04-06 21:31:27 +10:00
CraftBukkit/Spigot
53cffc1f87 SPIGOT-3162: Experience ignored for custom recipes
By: md_5 <git@md-5.net>
2017-04-03 09:06:42 +10:00
CraftBukkit/Spigot
c37f72b58c SPIGOT-3157: Use Vanilla gamemode change code
By: md_5 <git@md-5.net>
2017-03-31 21:21:11 +11:00
CraftBukkit/Spigot
fbcf1da3b9 SPIGOT-3154: Sleeping players cannot change dimensions
By: md_5 <git@md-5.net>
2017-03-30 21:53:23 +11:00
CraftBukkit/Spigot
f6132ee36c SPIGOT-3144: Add missing PrepareAnvilEvent call.
By: md_5 <git@md-5.net>
2017-03-25 09:51:02 +11:00
CraftBukkit/Spigot
30c00da7a6 SPIGOT-3149: StructureGrowEvent for dispenser triggered growth
By: md_5 <git@md-5.net>
2017-03-24 21:03:44 +11:00
CraftBukkit/Spigot
aaaf346654 Add additional methods sigs for binary compat
By: md_5 <git@md-5.net>
2017-03-24 15:23:23 +11:00
CraftBukkit/Spigot
f37ad64b75 Add TeleportCause.COMMAND for inbuilt /tp
By: md_5 <git@md-5.net>
2017-03-24 15:14:31 +11:00
CraftBukkit/Spigot
a29c3edf2f SPIGOT-3142: Plugin event changes not using TeleportCause.PLUGIN
By: md_5 <git@md-5.net>
2017-03-24 15:09:34 +11:00
CraftBukkit/Spigot
100722e44b SPIGOT-3141: Missing TeleportCause.SPECTATE when lift clicking spectate
By: md_5 <git@md-5.net>
2017-03-24 15:08:19 +11:00
CraftBukkit/Spigot
c839929065 SPIGOT-3143: Don't decrease item stack size if VehicleCreateEvent is cancelled
By: BlackHole <black-hole@live.com>
2017-03-21 23:03:20 +01:00
CraftBukkit/Spigot
b18c5c741b Process entity portalling towards the end of a tick.
Cross world teleportation works by taking a copy of an entity and moving it to a new world. After this happens the original entity is marked as dead so as to be removed from the original world, however it still undergoes one further tick in the main world, but with some information from the new world. It is not so easy to break out of this tick cycle if needed, so instead we move the portalling process towards the end of an existing tick. This ensures that the entity will not be spuriously ticked.

By: md_5 <git@md-5.net>
2017-03-20 15:41:15 +11:00
CraftBukkit/Spigot
cedf1495bd SPIGOT-3128: Shift VehicleCreateEvent calling.
By: md_5 <git@md-5.net>
2017-03-15 20:48:47 +11:00
CraftBukkit/Spigot
d8033d64c6 SPIGOT-3126: Make fireballs do a better job of respecting mobGriefing
By: md_5 <git@md-5.net>
2017-03-15 15:26:36 +11:00
CraftBukkit/Spigot
7489812328 Ensure PlayerResourcePackStatusEvent is synchronous
By: md_5 <git@md-5.net>
2017-03-14 21:56:19 +11:00
CraftBukkit/Spigot
e075d320d4 Add getIgnitingBlock to BlockBurnEvent
By: Nathan Wolf <nathan@elmakers.com>
2017-03-08 14:20:24 -08:00
CraftBukkit/Spigot
5e2981ee0f SPIGOT-3107: Try and improve shield knockback further
By: md_5 <git@md-5.net>
2017-03-08 14:51:48 +11:00
CraftBukkit/Spigot
3de67df146 SPIGOT-3105: BlockFadeEvent for large snow blocks
By: md_5 <git@md-5.net>
2017-03-08 14:24:11 +11:00
CraftBukkit/Spigot
0e4ffd62e1 MC-111753, SPIGOT-2971: Brewing stand not reloading
By: md_5 <git@md-5.net>
2017-02-21 20:47:40 +11:00
CraftBukkit/Spigot
1f9370d293 SPIGOT-3075: EntityTeleportEvent for Shulkers
By: md_5 <git@md-5.net>
2017-02-20 09:55:24 +11:00
CraftBukkit/Spigot
6c52504f93 SPIGOT-3067: Wither skeleton heads not dropping
By: md_5 <git@md-5.net>
2017-02-15 10:11:41 +11:00
CraftBukkit/Spigot
4b11aba0f7 SPIGOT-3063: Call EntityAirChangeEvent
By: md_5 <git@md-5.net>
2017-02-14 10:34:56 +11:00
CraftBukkit/Spigot
3b1a28ec19 SPIGOT-3044: BlockDispenseEvent for shulker boxes
By: md_5 <git@md-5.net>
2017-01-31 21:38:55 +11:00
CraftBukkit/Spigot
4166ac5145 Make tile activeContainer assignment consistent.
By: md_5 <git@md-5.net>
2017-01-27 11:42:21 +11:00
CraftBukkit/Spigot
49758a0994 SPIGOT-3033: Alter behaviour of cancelled hopper transfers (reverted from commit ca9bfb2d1f)
By: md_5 <git@md-5.net>
2017-01-26 14:08:04 +11:00
CraftBukkit/Spigot
ca9bfb2d1f SPIGOT-3033: Alter behaviour of cancelled hopper transfers
By: md_5 <git@md-5.net>
2017-01-26 11:13:00 +11:00
CraftBukkit/Spigot
c98102fd99 SPIGOT-3031: Pigs are not dropping their saddle
By: md_5 <git@md-5.net>
2017-01-24 13:39:22 +11:00
CraftBukkit/Spigot
49376274b6 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.

By: Pokechu22 <Pokechu022@gmail.com>
2017-01-18 17:42:35 -08:00
CraftBukkit/Spigot
d66b605829 SPIGOT-3002: Mob spawners are valid
By: md_5 <git@md-5.net>
2017-01-11 09:24:08 +11:00
CraftBukkit/Spigot
6e7031ad9a SPIGOT-2997: Explicitly disallow invalid tiles to be opened
By: md_5 <git@md-5.net>
2017-01-10 09:56:20 +11:00
CraftBukkit/Spigot
5be013beb5 Fix crash if entities other than players (somehow?) consume their item.
By: md_5 <git@md-5.net>
2017-01-09 14:28:49 +11:00
CraftBukkit/Spigot
7e1910e6d4 SPIGOT-2990: EntityTeleportEvent for tameable animals following owner
By: md_5 <git@md-5.net>
2017-01-05 20:44:26 +11:00
CraftBukkit/Spigot
df1033f5f9 SPIGOT-2989: Use existing horse inventory object.
By: md_5 <git@md-5.net>
2017-01-05 15:03:22 +11:00
CraftBukkit/Spigot
abf429e3bb SPIGOT-1915: Fix players seeing their own passengers
By: md_5 <git@md-5.net>
2017-01-04 10:50:02 +11:00
CraftBukkit/Spigot
44f4a83e59 More robust inventory handling
By: md_5 <git@md-5.net>
2017-01-04 10:04:27 +11:00
CraftBukkit/Spigot
a1cc3a4382 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion.
By: md_5 <git@md-5.net>
2017-01-02 16:13:25 +11:00
CraftBukkit/Spigot
ed9b479bcb Clear effectsToProccess after applying potion effects
By: md_5 <git@md-5.net>
2017-01-02 13:51:16 +11:00
CraftBukkit/Spigot
0779610d64 SPIGOT-2969: Shulker box removal not updating comparators
By: md_5 <git@md-5.net>
2016-12-28 14:23:52 +11:00
CraftBukkit/Spigot
93623ce896 SPIGOT-2966: Entirely remove problematic check
By: md_5 <git@md-5.net>
2016-12-28 09:50:40 +11:00
CraftBukkit/Spigot
1f6a5ecc06 SPIGOT-2960: Fire HOTBAR_MOVE_AND_READD in more cases
By: md_5 <git@md-5.net>
2016-12-27 12:14:55 +11:00
CraftBukkit/Spigot
e3b7ad4ef3 SPIGOT-2964: Correct number of shelve sin PrepareEnchantEvent
By: md_5 <git@md-5.net>
2016-12-27 11:53:09 +11:00
CraftBukkit/Spigot
83554f3290 Correct some code.
By: md_5 <git@md-5.net>
2016-12-24 22:52:50 +11:00
CraftBukkit/Spigot
d338127ab9 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK
By: md_5 <git@md-5.net>
2016-12-23 22:39:33 +11:00
CraftBukkit/Spigot
a272470d6f Additional fireworks damage tracking.
By: md_5 <git@md-5.net>
2016-12-23 22:32:40 +11:00
CraftBukkit/Spigot
64b9c40cd7 MC-88491: Fix projectile colliding with shooter
In some situations, a projectile made collide with the entity that shot
it. This occurs because the game sets the ignored entity incorrectly.
Our fix is to ensure that the shooter is the only entity that gets
ignored by the projectile.

By: Zach Brown <zach.brown@destroystokyo.com>
2016-12-22 15:29:23 -06:00
CraftBukkit/Spigot
2b518036f5 SPIGOT-2953: Set damager for fireworks
By: md_5 <git@md-5.net>
2016-12-22 20:26:27 +11:00
CraftBukkit/Spigot
e6b0af2e55 SPIGOT-2944: Just apply filtering to players
By: md_5 <git@md-5.net>
2016-12-22 16:50:24 +11:00
CraftBukkit/Spigot
0c321dd15d Update to Minecraft 1.11.2
By: md_5 <git@md-5.net>
2016-12-21 22:00:00 +11:00
CraftBukkit/Spigot
afecf1c36c SPIGOT-2948: Alter filtering logic
By: md_5 <git@md-5.net>
2016-12-21 17:12:39 +11:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +11:00
CraftBukkit/Spigot
74902a47aa SPIGOT-2936: Simplify WorldBorder diff
By: md_5 <git@md-5.net>
2016-12-19 23:05:39 +11:00
CraftBukkit/Spigot
595c69ab7b SPIGOT-2930: Shift calling of PlayerItemBreakEvent to before break.
By: md_5 <git@md-5.net>
2016-12-18 09:26:36 +11:00
CraftBukkit/Spigot
75f7baf1ad SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.

By: md_5 <git@md-5.net>
2016-12-17 14:26:09 +11:00
CraftBukkit/Spigot
694b7ad459 SPIGOT-2918: Always call EnchantItemEvent
By: md_5 <git@md-5.net>
2016-12-14 14:38:55 +11:00
CraftBukkit/Spigot
54e60aee75 SPIGOT-2913: Only one enchantment applied to items
By: md_5 <git@md-5.net>
2016-12-13 08:44:50 +11:00
CraftBukkit/Spigot
d381e7b934 SPIGOT-2912: Fix enchanting with ID of 0
By: md_5 <git@md-5.net>
2016-12-12 09:35:31 +11:00
CraftBukkit/Spigot
a9e3f93ed3 Add getLocation for InventoryEnderChest
By: md_5 <git@md-5.net>
2016-12-11 16:41:40 +11:00
CraftBukkit/Spigot
b5bd9528a0 Add EnchantmentOffer to PrepareItemEnchantEvent
By: md_5 <git@md-5.net>
2016-12-11 11:10:38 +11:00
CraftBukkit/Spigot
25e61b60e4 SPIGOT-2242: Handle changed item in PlayerPickupArrowEvent
By: md_5 <git@md-5.net>
2016-12-10 12:48:56 +11:00
CraftBukkit/Spigot
87d502339e SPIGOT-2524: Update inventory for cancelled air right click
By: md_5 <git@md-5.net>
2016-12-10 12:36:09 +11:00
CraftBukkit/Spigot
8b77464a94 SPIGOT-2907: Improve EntityResurrectEvent handling
By: md_5 <git@md-5.net>
2016-12-10 12:16:14 +11:00
CraftBukkit/Spigot
05fbc8df18 Clean up BlockFlowing
By: md_5 <git@md-5.net>
2016-12-09 12:56:49 +11:00
CraftBukkit/Spigot
2fa7ac3174 SPIGOT-2886: Call BlockFormEvent when Lava and Water collide
By: Brokkonaut <hannos17@gmx.de>
2016-12-09 12:53:15 +11:00
CraftBukkit/Spigot
9e8988306c Use CraftEventFactory for BlockFormEvent
By: md_5 <git@md-5.net>
2016-12-09 12:45:21 +11:00
CraftBukkit/Spigot
00609fd3df SPIGOT-2891: Remove chunks if first check is false
Minecraft does double checking for synchronous generation, but since we generate chunks asynchronously we are required to check the first condition also in case the chunk was loaded between ticks. We leave the other logic to be cleaned up by the loops below.

By: md_5 <git@md-5.net>
2016-12-06 22:05:58 +11:00
CraftBukkit/Spigot
db5c1e3e66 Implement EntityDeathEvent for ArmorStands
By: Senmori <thesenmori@gmail.com>
2016-12-03 16:32:13 -05:00
CraftBukkit/Spigot
24fdb26050 SPIGOT-2889: Error cancelling creative InventoryClickEvent
By: md_5 <git@md-5.net>
2016-12-05 09:07:25 +11:00
CraftBukkit/Spigot
5443bf1110 #326: Convert BlockMeta to handle older serialized items.
By: Jacob Martin <jjm_223@hotmail.com>
2016-12-03 10:51:53 +11:00
CraftBukkit/Spigot
83cf54fd9d SPIGOT-2879: Change order of entity addition for ender pearls
By: md_5 <git@md-5.net>
2016-12-03 09:55:36 +11:00
CraftBukkit/Spigot
a00951dd57 SPIGOT-2871: Improve BlockStates + BlockStateMeta
By: md_5 <git@md-5.net>
2016-12-02 09:29:33 +11:00
CraftBukkit/Spigot
e593f348c8 Add some expansions to Anvil Inventory API
By: Xor Boole <mcyoung@mit.edu>
2016-11-30 16:40:40 +11:00
CraftBukkit/Spigot
081c11644f SPIGOT-2867: Update inventory on cancelled interacts too
By: md_5 <git@md-5.net>
2016-11-30 15:33:29 +11:00
CraftBukkit/Spigot
21a4e56ad5 Expand definition of isFrozen
By: md_5 <git@md-5.net>
2016-11-30 09:16:01 +11:00
CraftBukkit/Spigot
140a834de3 SPIGOT-2860: Don't create 0 exp orbs when breeding
By: md_5 <git@md-5.net>
2016-11-29 15:42:46 +11:00
CraftBukkit/Spigot
5cdc0bbd0e Add hitEntity to ProjectileHitEvent
By: md_5 <git@md-5.net>
2016-11-28 12:47:01 +11:00
CraftBukkit/Spigot
3f8ec9a859 SPIGOT-2855: Empty ItemStacks in PlayerDeathEvent drops
By: md_5 <git@md-5.net>
2016-11-28 12:34:21 +11:00
CraftBukkit/Spigot
8eb1f2cdd7 SPIGOT-1401: Issues placing blocks adjacent to eachother
By: md_5 <git@md-5.net>
2016-11-28 10:13:49 +11:00
CraftBukkit/Spigot
1070f2682f Fix possible leaks in vanish API
By: md_5 <git@md-5.net>
2016-11-28 10:02:40 +11:00
CraftBukkit/Spigot
0dcf5cb67e SPIGOT-2695: Added BrewingStandFuelEvent and added fuel level to the BrewEvent
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-24 18:03:48 +01:00
CraftBukkit/Spigot
223f2ee80f SPIGOT-2842: Improve item age handling
By: md_5 <git@md-5.net>
2016-11-25 10:31:53 +11:00
CraftBukkit/Spigot
d722f59600 Farmland is a pickable block
By: md_5 <git@md-5.net>
2016-11-24 21:29:41 +11:00
CraftBukkit/Spigot
5a3215856c SPIGOT-2833: Tile entities occasionally wiped after placement
By: md_5 <git@md-5.net>
2016-11-24 09:30:01 +11:00
CraftBukkit/Spigot
874e784b8a SPIGOT-2836: ProjectileHitEvent not always firing for FishHook
By: md_5 <git@md-5.net>
2016-11-23 22:50:37 +11:00
CraftBukkit/Spigot
c85a3c331b SPIGOT-2765: Special case entity triggered explosions for HangingBreakEvent
By: md_5 <git@md-5.net>
2016-11-23 10:34:08 +11:00
CraftBukkit/Spigot
6b773ce751 SPIGOT-2824: Llama Strength API
By: md_5 <git@md-5.net>
2016-11-23 10:27:49 +11:00
CraftBukkit/Spigot
db370129b4 Fix setCarryingChest not resizing horse inventory
By: md_5 <git@md-5.net>
2016-11-21 21:56:17 +11:00
CraftBukkit/Spigot
f6dd4eff69 SPIGOT-2272: Add API for virtual Merchants
By: Lukas Hennig <lukas@wirsindwir.de>
2016-11-21 15:29:36 +11:00
CraftBukkit/Spigot
6d1f84a8e1 SPIGOT-2807: Update inventory when attack cancelled
By: md_5 <git@md-5.net>
2016-11-20 14:13:21 +11:00
CraftBukkit/Spigot
1026d97b35 SPIGOT-2806: Fix PlayerDropItemEvent for disconnected players
By: md_5 <git@md-5.net>
2016-11-20 10:19:22 +11:00
CraftBukkit/Spigot
0193564053 Fix cancelling PlayerEditBookEvent
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 12:40:42 +01:00
CraftBukkit/Spigot
a68281e279 SPIGOT-2800: Can only smelt 63 stack
By: md_5 <git@md-5.net>
2016-11-19 21:14:46 +11:00
CraftBukkit/Spigot
0816d8a06f Add additional APIs for Evoker / EvokerFangs
By: momothereal <momothereal.mc@gmail.com>
2016-11-19 18:53:57 +11:00
CraftBukkit/Spigot
3e21482d20 Attempt to sync damage up again - golden apples this time
By: md_5 <git@md-5.net>
2016-11-19 14:53:19 +11:00
CraftBukkit/Spigot
e73c499794 SPIGOT-2795: InventoryClickEvent issues
By: md_5 <git@md-5.net>
2016-11-19 13:51:10 +11:00
CraftBukkit/Spigot
a43e456dca Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:41 +11:00
CraftBukkit/Spigot
3fd399bd50 SPIGOT-2793: Revert Nameable changes
By: md_5 <git@md-5.net>
2016-11-19 03:10:04 +11:00
CraftBukkit/Spigot
f95e0cbeef SPIGOT-2790: Remove negative item ID filtering again
By: md_5 <git@md-5.net>
2016-11-18 15:12:11 +11:00
CraftBukkit/Spigot
bd1ee334c6 Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:41 +11:00
CraftBukkit/Spigot
9dad03430b SPIGOT-2777: Mobs not being angered by snowballs
By: md_5 <git@md-5.net>
2016-11-18 10:57:53 +11:00
CraftBukkit/Spigot
4e151a9020 SPIGOT-2784: Fix Withers not being built
By: md_5 <git@md-5.net>
2016-11-18 09:20:14 +11:00
CraftBukkit/Spigot
3d88bfd277 SPIGOT-2771: Safely execute command block commands
By: md_5 <git@md-5.net>
2016-11-18 08:54:22 +11:00
CraftBukkit/Spigot
53a37d68fc SPIGOT-2785: Wrong effect ID for wither sounds
By: md_5 <git@md-5.net>
2016-11-18 08:41:21 +11:00
CraftBukkit/Spigot
5e5fe9d2ed SPIGOT-2770: Can Place Structure Blocks Even When Not Op
By: md_5 <git@md-5.net>
2016-11-17 21:01:15 +11:00
CraftBukkit/Spigot
4e412ab4e3 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:41:03 +11:00
CraftBukkit/Spigot
cf579b12bc SPIGOT-1903, MC-98153: Portal Location Sync Issues
By: md_5 <git@md-5.net>
2016-10-23 14:00:35 +11:00
CraftBukkit/Spigot
537ae5a7b0 SPIGOT-2738: Revert SPIGOT-1903 fix
Reverted from commit 69cae6228b

By: md_5 <git@md-5.net>
2016-10-23 12:45:07 +11:00
CraftBukkit/Spigot
69cae6228b SPIGOT-1903: Only issue player location update after tick
Previously after a player tick, the player's location would be reset back to the location which they had prior to the tick, only to be (hopefully) corrected at a later point, after the client had attempted (and failed) to acknowledge the location change.

By: md_5 <git@md-5.net>
2016-10-19 20:43:47 +11:00
CraftBukkit/Spigot
49316bb556 SPIGOT-2726: Fix duplicate UUID check not always running
World.addEntity(Entity entity) calls addEntity(entity, SpawnReason.DEFAULT), which contains the code that was originally in addEntity (and some event code).

However, WorldServer previously only had addEntity(Entity entity), so if addEntity(Entity entity, SpawnReason spawnreason) was called directly, the UUID check that's found in it (the call to 'i') is skipped.  This happens, among other places, in ChunkRegionLoader.spawnEntity (which /summon uses).

I fixed this by making WorldServer override the SpawnReason version, rather than the regular version.  This is safe to do because the World version calls the SpawnReason version - it's not necessary to do the same thing in WorldServer.

By: Pokechu22 <Pokechu022@gmail.com>
2016-10-15 23:20:12 -07:00
CraftBukkit/Spigot
fc00e0cbca SPIGOT-2686: Vehicles cannot collide with air
By: md_5 <git@md-5.net>
2016-10-12 19:47:14 +11:00
CraftBukkit/Spigot
001b26f1ae Fix looting enchant using wrong variable
By: md_5 <git@md-5.net>
2016-10-10 17:02:49 +11:00
CraftBukkit/Spigot
1160f867a4 SPIGOT-2694: Update other half of door on BlockBreakEvent
By: md_5 <git@md-5.net>
2016-10-10 16:58:14 +11:00
CraftBukkit/Spigot
01ba47a5c0 SPIGOT-2717: /execute over RCON
By: md_5 <git@md-5.net>
2016-10-09 14:00:04 +11:00
CraftBukkit/Spigot
a4f5074da8 MC-54738: Fix ocean biome spikes due to minHeight sign inversion.
By: Ryan Michela <deltahat@gmail.com>
2016-10-06 22:31:53 -07:00
CraftBukkit/Spigot
dc3ec1e507 SPIGOT-2683: Missing BlockDispenseEvents
By: md_5 <git@md-5.net>
2016-09-19 18:20:15 +10:00
CraftBukkit/Spigot
0faf0e750e Remove unneeded change
By: md_5 <git@md-5.net>
2016-09-11 14:14:13 +10:00
CraftBukkit/Spigot
ceee1b96e1 SPIGOT-2639: Better state validation
By: md_5 <git@md-5.net>
2016-09-05 17:33:28 +10:00
CraftBukkit/Spigot
d9aefeb601 SPIGOT-2653: Better align combustion with vanilla behaviour
By: md_5 <git@md-5.net>
2016-09-03 16:39:21 +10:00
CraftBukkit/Spigot
859ccb933b SPIGOT-2634: Concurrency issue in FileIOThread
By: md_5 <git@md-5.net>
2016-08-27 15:51:54 +10:00
CraftBukkit/Spigot
e82ad8c82f SPIGOT-215: Implement infrastructure for Location tab completes
By: DemonWav <demonwav@gmail.com>
2016-08-25 09:48:52 +10:00
CraftBukkit/Spigot
7b4d8c3f3f SPIGOT-2622: Ensure all players are safely disconnected on shutdown
By: md_5 <git@md-5.net>
2016-08-23 14:02:48 +10:00
CraftBukkit/Spigot
cf6a18e39f SPIGOT-2616: Fix dispensers dispensing TNT making squid sounds
This was caused by the wrong obfuscated sound effect being used, probably due to a merge issue.

By: Pokechu22 <Pokechu022@gmail.com>
2016-08-20 09:48:07 +10:00
CraftBukkit/Spigot
22d343c1f4 SPIGOT-2581: EntityAirChangeEvent
By: md_5 <git@md-5.net>
2016-08-08 18:24:21 +10:00
CraftBukkit/Spigot
4e6c8a8362 Enhance Beacon Block API
By: md_5 <git@md-5.net>
2016-07-23 10:55:43 +10:00
CraftBukkit/Spigot
467c8686b0 Implement basic Beacon Block API
By: redwallhp <mcredwallhp@gmail.com>
2016-07-18 03:40:07 -04:00
CraftBukkit/Spigot
9baef28a81 SPIGOT-2537: Relax skull check even for nominally invalid skulls.
By: md_5 <git@md-5.net>
2016-07-22 20:34:17 +10:00
CraftBukkit/Spigot
3aa2d8025a Simplify a few diffs
By: md_5 <git@md-5.net>
2016-07-15 20:08:04 +10:00
CraftBukkit/Spigot
1e7be02c6b SPIGOT-2520: Better skull validation
By: md_5 <git@md-5.net>
2016-07-13 11:47:57 +10:00
CraftBukkit/Spigot
a9eb9b3f1a SPIGOT-2495: Better validation of Skulls.
By: md_5 <git@md-5.net>
2016-07-12 20:18:08 +10:00
CraftBukkit/Spigot
b38424139e SPIGOT-113: Add save status to ChunkUnloadEvent
By: md_5 <git@md-5.net>
2016-07-11 21:10:56 +10:00
CraftBukkit/Spigot
a63680b107 SPIGOT-2427: Fix missed diff in armor damage handling
By: md_5 <git@md-5.net>
2016-07-10 12:02:18 +10:00
CraftBukkit/Spigot
4d977ad06a SPIGOT-1994: Revert collisions to Vanilla behaviour
By: md_5 <git@md-5.net>
2016-07-10 11:44:02 +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
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
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
8af31adf18 SPIGOT-2461: Call player tick specifically
By: md_5 <git@md-5.net>
2016-06-28 11:44:48 +10: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
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
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
c93d857872 SPIGOT-2385: RegionFileCache synchronization issues
By: md_5 <git@md-5.net>
2016-06-12 19:28:27 +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
6b0f3ef039 SPIGOT-2388: Damage must be nulled out in some circumstances
By: md_5 <git@md-5.net>
2016-06-12 10:13:51 +10:00
CraftBukkit/Spigot
a9e1194e19 SPIGOT-2387: Magma does not provide a block for EntityDamageEvent.
By: md_5 <git@md-5.net>
2016-06-11 16:11:51 +10:00
CraftBukkit/Spigot
1a8b83514c SPIGOT-1550, SPIGOT-2306: Custom payload / book + event fixes
By: md_5 <git@md-5.net>
2016-06-11 12:17:35 +10:00
CraftBukkit/Spigot
1b648cfd6b SPIGOT-2366: Fix a missed diff PortalTravelAgent.patch
By: Tom E <tomelfring@gmail.com>
2016-06-09 12:00:57 +02:00
CraftBukkit/Spigot
41b7bb0b90 SPIGOT-2365: Missed hanging diff
By: md_5 <git@md-5.net>
2016-06-09 20:42:49 +10:00
CraftBukkit/Spigot
f848ee8019 SPIGOT-2364: Fix hanging placing.
By: md_5 <git@md-5.net>
2016-06-09 14:27:59 +10:00
CraftBukkit/Spigot
67c3b659a5 Restore some Vanilla behaviour to fix magma blocks
By: md_5 <git@md-5.net>
2016-06-09 12:50:21 +10:00
CraftBukkit/Spigot
a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +10:00
CraftBukkit/Spigot
18f37c3b32 SPIGOT-2335: EntityCreeper.setPowered
By: md_5 <git@md-5.net>
2016-05-31 20:53:37 +10:00
CraftBukkit/Spigot
e9b7eee369 SPIGOT-636: Decouple EntityCombustByEntity from damageEntity
By: md_5 <git@md-5.net>
2016-05-28 22:10:59 +10:00
CraftBukkit/Spigot
3a3576e181 Implement PlayerChangedMainHandEvent
By: md_5 <git@md-5.net>
2016-05-27 18:53:36 +10:00
CraftBukkit/Spigot
187015b57b SPIGOT-2321: Fully check Vanilla command permissions
By: md_5 <git@md-5.net>
2016-05-26 21:06:28 +10:00
CraftBukkit/Spigot
69c6c3d92c SPIGOT-2311: Cancelling PlayerPortalEvent causes invulnerability until relog
By: md_5 <git@md-5.net>
2016-05-25 18:25:49 +10:00
CraftBukkit/Spigot
ba115c957b SPIGOT-2303: Use getChunkIfLoaded
By: md_5 <git@md-5.net>
2016-05-22 13:57:44 +10:00
CraftBukkit/Spigot
ecb71842df SPIGOT-2297: Reintroduce getChunkIfLoaded
By: md_5 <git@md-5.net>
2016-05-22 11:36:38 +10:00
CraftBukkit/Spigot
4d42c823d2 SPIGOT-2282: Get loaded chunk
By: md_5 <git@md-5.net>
2016-05-15 22:14:47 +10:00
CraftBukkit/Spigot
477241471c Fix CraftBukkit crash report details not showing
By: md_5 <git@md-5.net>
2016-05-15 22:12:06 +10:00
CraftBukkit/Spigot
d94f1ebe37 SPIGOT-2270: Retain Java 6 compat
By: md_5 <git@md-5.net>
2016-05-12 12:09:28 +10:00
CraftBukkit/Spigot
bc420eace5 SPIGOT-2271: Custom furnace experience error
By: md_5 <git@md-5.net>
2016-05-12 12:07:58 +10:00
CraftBukkit/Spigot
d0547bfe77 Use direct chunk access for neighbour counts on unload
By: md_5 <git@md-5.net>
2016-05-11 15:59:20 +10:00
CraftBukkit/Spigot
3d3e6cdcad Fix some [but not all] chunk unload issues
By: md_5 <git@md-5.net>
2016-05-11 15:34:16 +10:00
CraftBukkit/Spigot
d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00
CraftBukkit/Spigot
c9a6e9175c SPIGOT-2255: Nether Structure generation ConcurrentModificationException
By: md_5 <git@md-5.net>
2016-05-07 16:33:01 +10:00
CraftBukkit/Spigot
da48f2cbd4 SPIGOT-2134: Use the correct listener in CommandExecute
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-05-01 20:38:40 +01:00
CraftBukkit/Spigot
fbff20c008 SPIGOT-2218: Drop horse chest on death
By: md_5 <git@md-5.net>
2016-04-26 09:26:20 +10:00
CraftBukkit/Spigot
9295c03ce7 Ignore movement packets from dead players.
As funny as the idea sounds of having corpses sliding around it
shouldn't really be allowed. Due to other checks added by CB
previously this was mostly harmless anyway.

By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-24 17:35:59 +01:00
CraftBukkit/Spigot
d106bad54b Remove debug message.
By: Jacob Martin <jjm_223@hotmail.com>
2016-04-23 09:49:06 -05:00
CraftBukkit/Spigot
97cabc950a SPIGOT-2171: Fix shield blocking sounds
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-20 13:01:20 +01:00
CraftBukkit/Spigot
7a3f710cf1 SPIGOT-2157: Fix enderman not playing their animation when attacking
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-20 11:40:16 +01:00
CraftBukkit/Spigot
70d48f98d3 SPIGOT-2134: Support /execute being chained
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-20 11:24:48 +01:00
CraftBukkit/Spigot
6293f1d626 SPIGOT-2043: Ensure VehicleMoveEvent is always fired for boats
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-20 11:12:14 +01:00
CraftBukkit/Spigot
77b2d0456e SPIGOT-2014: Respect the spectatorsGenerateChunks gamerule
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-20 11:00:35 +01:00
CraftBukkit/Spigot
8fe634523c SPIGOT-2191: Fix a missed diff from 1.8.8
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-17 17:47:51 +01:00
CraftBukkit/Spigot
cca53f1f96 staticify backported method
By: md_5 <git@md-5.net>
2016-04-12 18:25:18 +10:00
CraftBukkit/Spigot
70d8b8c90e Backport changes from 16w15a
By: md_5 <git@md-5.net>
2016-04-12 14:06:08 +10:00
CraftBukkit/Spigot
6b0ff2a74f SPIGOT-2145: Add missed EntityTeleportEvent diff
By: md_5 <git@md-5.net>
2016-04-08 19:06:31 +10:00
CraftBukkit/Spigot
d7b8d8fdb9 SPIGOT-2128: Flint and steel duplicate place event
By: md_5 <git@md-5.net>
2016-04-04 17:18:01 +10:00
CraftBukkit/Spigot
22bfd9c3e9 SPIGOT-2115: Fix entities being added to the world multiple times when teleported
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-02 01:12:03 +01:00
CraftBukkit/Spigot
f3c514cf91 SPIGOT-2102: Don't reduce the movement limit below vanilla's default
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-01 23:19:55 +01:00
CraftBukkit/Spigot
b6c5393b22 Handle cases where Mojang uses an empty string for permission checks
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-01 22:58:20 +01:00
CraftBukkit/Spigot
911f7f5cf7 MC-100382: Fix Pathfinding Memory Leak
https://bugs.mojang.com/browse/MC-100382

A reference to a ChunkCache is never cleaned up after doing a pathfind operation,
resulting in leaking chunks. The leaked chunks then hold references to other
entities that may also be leaking ChunkCache's, creating a cascading problem.

By: Aikar <aikar@aikar.co>
2016-03-31 19:47:11 -04:00
CraftBukkit/Spigot
41e881d59f SPIGOT-2101: Check the result of damageEntity before applying knockback from sweep attacks
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-31 12:50:58 +01:00
CraftBukkit/Spigot
86e2c74429 SPIGOT-2098: Fix sound effects for 1.9.0 clients
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-31 11:34:47 +01:00
CraftBukkit/Spigot
17d7ca3bb4 Fix a diff mistake in MobEffectList
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-31 00:00:11 +01:00
CraftBukkit/Spigot
094f30f26d Update to Minecraft 1.9.2
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-30 20:50:59 +01:00
CraftBukkit/Spigot
8ea7bfcb8c Support Minecraft 1.9.2
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-30 16:51:22 +01:00
CraftBukkit/Spigot
19e357e11a Add 1.9.1 support.
By: md_5 <git@md-5.net>
2016-03-16 16:49:50 +11:00
CraftBukkit/Spigot
4fbcead283 SPIGOT-2033: Re-add missed diff for entity.valid
By: Aikar <aikar@aikar.co>
2016-03-28 20:19:29 -04:00
CraftBukkit/Spigot
5e00c79020 Limit the length of byte arrays
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-28 21:19:05 +01:00
CraftBukkit/Spigot
f2440a109a Arrows use interactable condition
By: md_5 <git@md-5.net>
2016-03-27 20:58:45 +11:00
CraftBukkit/Spigot
eb3bbd68cc SPIGOT-2060: Method to control whether entities collide
By: md_5 <git@md-5.net>
2016-03-27 20:19:41 +11:00
CraftBukkit/Spigot
c165b940ae SPIGOT-2056: Fix killedByTeam scoreboard criteria
By: md_5 <git@md-5.net>
2016-03-27 11:11:15 +11:00
CraftBukkit/Spigot
454a2b88bd SPIGOT-2034: Rework damage again, this time for snowballs.
By: md_5 <git@md-5.net>
2016-03-26 14:10:29 +11:00
CraftBukkit/Spigot
2e5cc5e318 SPIGOT-2050: Add back code to only fire VehicleEnterEvent for loaded chunks.
By: md_5 <git@md-5.net>
2016-03-26 09:19:03 +11:00
CraftBukkit/Spigot
9808985b27 SPIGOT-1746: Tile entities may not always tick.
By: md_5 <git@md-5.net>
2016-03-25 14:04:27 +11:00
CraftBukkit/Spigot
3f72e1a95c Apply DataConverters to ItemStack instances
By: md_5 <git@md-5.net>
2016-03-25 10:20:27 +11:00
CraftBukkit/Spigot
97cca957f7 Fix player dimension change invulnerability never getting unset when certain dimensions are disabled
By: Zach Brown <zach.brown@destroystokyo.com>
2016-03-22 12:39:41 -05:00
CraftBukkit/Spigot
0c230e9353 SPIGOT-1733: Add PlayerPickupArrowEvent
By: 2008Choco <hawkeboyz2@hotmail.com>
2016-03-22 14:03:48 -04:00
CraftBukkit/Spigot
15f22a7986 SPIGOT-1934: Expand EnderDragon API - implement dragon phases
By: Matthew <stteg@hotmail.com>
2016-03-15 23:32:37 -04:00
CraftBukkit/Spigot
c0cd5222ed SPIGOT-1975: Fix falling blocks when height > 1
By: md_5 <git@md-5.net>
2016-03-22 18:04:02 +11:00
CraftBukkit/Spigot
2d394c85d9 Improve shield damage
By: md_5 <git@md-5.net>
2016-03-22 14:54:21 +11:00
CraftBukkit/Spigot
6d1fcb4866 SPIGOT-1993: Move hand check to proper location
By: md_5 <git@md-5.net>
2016-03-20 16:53:36 +11:00
CraftBukkit/Spigot
817347613d SPIGOT-1984: Fix default interact state when sneaking
By: md_5 <git@md-5.net>
2016-03-20 13:48:21 +11:00
CraftBukkit/Spigot
ed3feb34bd Fix strange potion diff
By: md_5 <git@md-5.net>
2016-03-20 13:42:12 +11:00
CraftBukkit/Spigot
8a5e72c953 SPIGOT-1991: Further damage fixes
By: md_5 <git@md-5.net>
2016-03-20 13:40:12 +11:00
CraftBukkit/Spigot
fb5328bb3c SPIGOT-1904: AreaEffectCloud events and additional API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-12 12:12:25 -05:00
CraftBukkit/Spigot
277b9a6caa SPIGOT-1986: Fix flying players spamming EntityToggleGlideEvent
By: 0x277F <0x277F@gmail.com>
2016-03-19 18:00:15 -06:00
CraftBukkit/Spigot
bee4c7641d SPIGOT-1981: Another attempt at damage
By: md_5 <git@md-5.net>
2016-03-20 10:54:23 +11:00
CraftBukkit/Spigot
118951667e SPIGOT-1968: Use correct explosion yield
By: md_5 <git@md-5.net>
2016-03-19 12:19:17 +11:00
CraftBukkit/Spigot
865281201b SPIGOT-1956: Don't deplete projectile item when event cancelled
By: md_5 <git@md-5.net>
2016-03-19 11:13:15 +11:00
CraftBukkit/Spigot
36f29a30b6 SPIGOT-1680 / SPIGOT-1963: Improve damage blocking modifier accuracy
By: md_5 <git@md-5.net>
2016-03-18 19:04:23 +11:00
CraftBukkit/Spigot
854e2a5110 Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)
By: Matthew <stteg@hotmail.com>
2016-03-17 15:00:24 -04:00
CraftBukkit/Spigot
c5080500ff Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean)
By: Matthew <stteg@hotmail.com>
2016-03-16 21:48:53 -04:00
CraftBukkit/Spigot
05f89ee25c Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location)
By: Matthew <stteg@hotmail.com>
2016-03-16 21:30:40 -04:00
CraftBukkit/Spigot
1d5604cde0 SPIGOT-1931: Call PlayerFishEvent before modifying hooked entities velocity
By: Matthew <stteg@hotmail.com>
2016-03-15 09:26:45 -04:00
CraftBukkit/Spigot
c3b18ee3a7 SPIGOT-1927: Don't allow circular entity riding
By: md_5 <git@md-5.net>
2016-03-15 15:09:39 +11:00
CraftBukkit/Spigot
82d37ee559 SPIGOT-1930: Fix spam for EntityToggleGlideEvent
By: 0x277F <0x277F@gmail.com>
2016-03-14 20:15:54 -06:00
CraftBukkit/Spigot
a1e534fc20 Add spawn reasons for entities involved in a skeleton trap
By: BlackHole <black-hole@live.com>
2016-03-13 16:38:07 +01:00
CraftBukkit/Spigot
838a88ba07 SPIGOT-1532: Add PlayerSwapHandItemsEvent
By: md_5 <git@md-5.net>
2016-03-14 16:53:46 +11:00
CraftBukkit/Spigot
7011412863 SPIGOT-1849: Call EntityBlockFormEvent when an entity forms frosted ice using frost walker
By: Matthew <stteg@hotmail.com>
2016-03-12 14:52:07 -05:00
CraftBukkit/Spigot
6eeb30b381 Fix switch case labelling and drop items check.
By: md_5 <git@md-5.net>
2016-03-12 21:07:17 +11:00
CraftBukkit/Spigot
8f219bb7a6 SPIGOT-1571: Add Entity Glide Events.
By: 0x277F <0x277F@gmail.com>
2016-03-12 20:57:32 +11:00
CraftBukkit/Spigot
a28e1be276 SPIGOT-1900: Stub out expensive and redundant method call
By: md_5 <git@md-5.net>
2016-03-12 20:43:04 +11:00
CraftBukkit/Spigot
d42806b5b0 SPIGOT-1725: Fix dynamic scoreboard criteria on non-main scoreboards
By: md_5 <git@md-5.net>
2016-03-12 17:57:40 +11:00
CraftBukkit/Spigot
104519f08f SPIGOT-1638 / SPIGOT-1673: Rework Potions API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-02 20:43:58 -05:00
CraftBukkit/Spigot
d490a6e384 SPIGOT-1893: Wrong RegainReason for eating.
By: md_5 <git@md-5.net>
2016-03-12 11:12:38 +11:00
CraftBukkit/Spigot
c32a32e573 SPIGOT-1875: Broken leashes not dropping
By: md_5 <git@md-5.net>
2016-03-11 19:24:57 +11:00
CraftBukkit/Spigot
e014b0151e SPIGOT-1813: EntityCombustByEntityEvent not Cancelled
By: md_5 <git@md-5.net>
2016-03-11 07:01:33 +11:00
CraftBukkit/Spigot
071897746d Backport a bug fix from the pre-release
A mistake in the buffer size calculation caused the buffer for chunk
packets to be around 16 times the size they should have been.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-10 19:46:12 +00:00
CraftBukkit/Spigot
8eb667c8b4 SPIGOT-1847: Maps in non default worlds
By: md_5 <git@md-5.net>
2016-03-10 16:42:07 +11:00
CraftBukkit/Spigot
51207b52a7 Missing diff effecting frost walker ignoring entities
By: BlackHole <black-hole@live.com>
2016-03-09 19:53:01 +01:00
CraftBukkit/Spigot
84bc13a366 Call EntityChangedBlockEvent for water splash potions extinguishing fire
By: BlackHole <black-hole@live.com>
2016-03-09 19:21:29 +01:00
CraftBukkit/Spigot
cfc9d7d858 SPIGOT-1845: Use correct hand for interact events
By: BlackHole <black-hole@live.com>
2016-03-08 19:00:23 +01:00
CraftBukkit/Spigot
9357e77b84 SPIGOT-1841: Implement some of the missing EnderDragon events.
By: md_5 <git@md-5.net>
2016-03-08 18:50:44 +11:00
CraftBukkit/Spigot
1fec65442b SPIGOT-1831: Chicken / sheep not dropping items correctly.
By: md_5 <git@md-5.net>
2016-03-08 17:58:52 +11:00
CraftBukkit/Spigot
ced78d5d27 SPIGOT-1816: Rework drop capture.
By: md_5 <git@md-5.net>
2016-03-07 19:51:42 +11:00
CraftBukkit/Spigot
406b2d6204 SPIGOT-1820: Fix custom travel agent search radius.
By: md_5 <git@md-5.net>
2016-03-07 19:13:41 +11:00
CraftBukkit/Spigot
099fbb9235 Fix regenerating chunks not updating visually
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-06 23:49:28 +00:00
CraftBukkit/Spigot
ba14876843 SPIGOT-1788: Correctly teleport the player back to their old location
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-06 22:17:32 +00:00
CraftBukkit/Spigot
266f69b8a9 SPIGOT-1611: Make vehicles use the same speed checks as players
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-06 21:33:27 +00:00
CraftBukkit/Spigot
1ea9b3c75f Fix issue with last patch.
By: md_5 <git@md-5.net>
2016-03-06 21:42:34 +11:00
CraftBukkit/Spigot
f4888a28c5 SPIGOT-1762: Call EntityChangeBlockEvent for boats destroying lily pads
By: BlackHole <black-hole@live.com>
2016-03-06 03:05:59 +01:00
CraftBukkit/Spigot
08c51b4278 SPIGOT-1790: Fix bucket behaviour
By: md_5 <git@md-5.net>
2016-03-06 16:41:13 +11:00
CraftBukkit/Spigot
6a2a8d0d3f Remove redundant syncInventory on world change
By: md_5 <git@md-5.net>
2016-03-06 16:25:50 +11:00
CraftBukkit/Spigot
1a382d5c02 SPIGOT-1727: Fix ShulkerBullet.setTarget
By: md_5 <git@md-5.net>
2016-03-06 14:56:09 +11:00
CraftBukkit/Spigot
5b0dae1d7c SPIGOT-1573: Fix command blocks after respawning
By: md_5 <git@md-5.net>
2016-03-06 14:35:33 +11:00
CraftBukkit/Spigot
cd40ed3908 SPIGOT-1775: Pass in unshifted block for PlayerBucketEmptyEvent
By: md_5 <git@md-5.net>
2016-03-06 12:42:45 +11:00
CraftBukkit/Spigot
675bcf3b80 SPIGOT-1749 / MC-99075: Call updateInventory as a temporary workaround for cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2016-03-06 12:34:51 +11:00
CraftBukkit/Spigot
9da0e8f2d2 SPIGOT-1663: Fix WorldBorder displaying in secondary worlds.
By: md_5 <git@md-5.net>
2016-03-06 12:13:07 +11:00
CraftBukkit/Spigot
a622bf51b2 SPIGOT-1764: Perform drops regardless of loot table
By: md_5 <git@md-5.net>
2016-03-06 11:30:03 +11:00
CraftBukkit/Spigot
451511ebed Update chorus fruit tele event destination.
By: md_5 <git@md-5.net>
2016-03-06 09:57:59 +11:00
CraftBukkit/Spigot
03a58cbff4 SPIGOT-1776: Replace BossBar.hide/show with visibility.
By: md_5 <git@md-5.net>
2016-03-06 09:55:36 +11:00
CraftBukkit/Spigot
6cf567a47a SPIGOT-1773: Chorus fruit teleport reason
By: md_5 <git@md-5.net>
2016-03-06 09:46:57 +11:00
CraftBukkit/Spigot
6d76250ec1 SPIGOT-1613: Fix missed use of scaled health
By: md_5 <git@md-5.net>
2016-03-06 08:38:01 +11:00
CraftBukkit/Spigot
2af4470275 SPIGOT-1755: CommandBlock doesn't run on empty world
By: Oliver Dunk <oliver@oliverdunk.com>
2016-03-05 22:36:13 +11:00
CraftBukkit/Spigot
52a2a37b2f SPIGOT-1626 / MC-98994: Fix slow chunk performance
Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.

By: md_5 <git@md-5.net>
2016-03-05 18:50:38 +11:00
CraftBukkit/Spigot
637b5fb592 SPIGOT-1751: Add missed PlayerFishEvent for FAILED_ATTEMPT
By: md_5 <git@md-5.net>
2016-03-05 15:46:56 +11:00
CraftBukkit/Spigot
a15545299d SPIGOT-1608: Add a way to get the hand used in PlayerInteract*Events
By: md_5 <git@md-5.net>
2016-03-04 15:24:51 +11:00
CraftBukkit/Spigot
a64de09934 SPIGOT-1646: Capture the previous location earlier
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-03 11:15:04 +00:00
CraftBukkit/Spigot
926a6270b9 SPIGOT-1634: Fix cancelling ServerCommandEvent
By: md_5 <git@md-5.net>
2016-03-03 16:56:07 +11:00
CraftBukkit/Spigot
3583191fec SPIGOT-1674: Enable crafting of tipped arrows.
By: md_5 <git@md-5.net>
2016-03-03 16:35:51 +11:00
CraftBukkit/Spigot
484e732fdb SPIGOT-1646: Don't move the player until after the PlayerMoveEvent completes
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 23:06:25 +00:00
CraftBukkit/Spigot
0391888780 SPIGOT-1632: Save secondary data for nether/end
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 22:57:53 +00:00
CraftBukkit/Spigot
269c49d99e SPIGOT-1632: Fix a bug in EnderDragonBattle which prevented respawning the dragon in some cases
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 22:25:35 +00:00
CraftBukkit/Spigot
4ce5743996 SPIGOT-1659: Fix a mistake in ChunkProviderServer that sometimes caused recursive chunk loads
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 21:27:49 +00:00
CraftBukkit/Spigot
f84c0ddb9d Fix a mistake in EntityEnderPearl causing a double teleport
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 16:48:00 +00:00
CraftBukkit/Spigot
322fb72404 SPIGOT-1644: Fire PlayerTeleportEvent with reason END_GATEWAY for end gateways
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 16:41:59 +00:00
CraftBukkit/Spigot
90729b1eda SPIGOT-1583: Fix scoreboard crash.
Might not function 100%, but doesn't crash!

By: md_5 <git@md-5.net>
2016-03-02 21:29:57 +11:00
CraftBukkit/Spigot
6f8d1d05a0 SPIGOT-1624: Fix setPlayerListName
By: md_5 <git@md-5.net>
2016-03-02 18:32:06 +11:00
CraftBukkit/Spigot
af9f710785 SPIGOT-1605: Fix EntityChangeBlockEvent.setCancelled(Z)V
By: md_5 <git@md-5.net>
2016-03-02 17:07:08 +11:00
CraftBukkit/Spigot
5ef0dbef2c Fix chorus plants only straight growing up
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:42:59 +00:00
CraftBukkit/Spigot
d0300bb4e0 SPIGOT-1607: Fix BlockPlaceEvent and BlockMultiPlaceEvent sometimes showing the wrong item used
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:37:08 +00:00
CraftBukkit/Spigot
8c803cbf66 Manually calculate horses' jump power due to horse jumping being moved clientside
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:08:40 +00:00
CraftBukkit/Spigot
4ff62a4c6a SPIGOT-1590: Ensure plugins are disabled.
By: md_5 <git@md-5.net>
2016-03-02 06:33:41 +11:00
CraftBukkit/Spigot
849f9f08b0 SPIGOT-1596: BlockCauldron crash
By: md_5 <git@md-5.net>
2016-03-02 06:31:11 +11:00
CraftBukkit/Spigot
c964d0499b SPIGOT-1569: Remove negative itemstack data filtering
By: md_5 <git@md-5.net>
2016-03-01 20:16:34 +11:00
CraftBukkit/Spigot
bce53b72eb SPIGOT-1568: Fix jukeboxes
By: md_5 <git@md-5.net>
2016-03-01 20:07:44 +11:00
CraftBukkit/Spigot
d599c20863 SPIGOT-1543: Return combined slots for PlayerInventory.getContents
By: md_5 <git@md-5.net>
2016-03-01 16:40:12 +11:00
CraftBukkit/Spigot
851c09f4d7 SPIGOT-1540: Treat clicking on player model with ItemStack as none.
By: md_5 <git@md-5.net>
2016-03-01 13:52:34 +11:00
CraftBukkit/Spigot
c8e3e16545 SPIGOT-1525: Fix worldborder set.
By: md_5 <git@md-5.net>
2016-03-01 11:20:42 +11:00
CraftBukkit/Spigot
f1fc9e87a8 Remove BookEditEvent as a workaround for decompiler determinism issues.
By: md_5 <git@md-5.net>
2016-03-01 09:58:55 +11:00
CraftBukkit/Spigot
21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00
CraftBukkit/Spigot
eb6f00d0c9 [BUKKIT-3451] Use correct item amount for FurnaceExtractEvent.
Also don't call FurnaceExtractEvent when the item amount is 0.

By: hibo98 <hibo98.niklas@gmail.com>
2015-12-19 20:04:58 +01:00
CraftBukkit/Spigot
7588b12e6c Removed tried to add entity warning.
Was a debug message backported from Vanilla 1.9 snapshots. We have decided to remove this message from 1.9 as it is largely useless.

By: md_5 <git@md-5.net>
2016-02-05 11:48:30 +11:00
CraftBukkit/Spigot
99fbeecd40 SPIGOT-1308: Fix typo in PlayerList#sendAll
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-01-22 11:13:34 +00:00
CraftBukkit/Spigot
635382a96a SPIGOT-1347: Don't change entity add behaviour, just print warning.
By: md_5 <git@md-5.net>
2015-12-17 10:24:55 +11:00
CraftBukkit/Spigot
821fe97c82 Add some warnings from snapshot versions to check whether they are applicable in 1.8.8
By: md_5 <git@md-5.net>
2015-12-15 17:12:32 +11:00
CraftBukkit/Spigot
4432f095f7 Ensure the buffer for plugin messages is freed.
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-10-07 21:39:43 +01:00
CraftBukkit/Spigot
91a65a1f27 SPIGOT-1219: Allow ping without status query.
Also minor refactor to use more of the Vanilla logic.

By: md_5 <git@md-5.net>
2015-10-03 11:25:43 +10:00
CraftBukkit/Spigot
cc7273b066 SPIGOT-759: Add FireworkExplodeEvent.
By: DemonWav <demonwav@gmail.com>
2015-09-30 09:02:11 +10:00
CraftBukkit/Spigot
7684642aa9 SPIGOT-1076: Add HurtEntities API for FallingBlock.
By: md_5 <git@md-5.net>
2015-08-01 16:48:20 +10:00
CraftBukkit/Spigot
bec7083140 SPIGOT-625: Insert a small delay when shutting down to allow packets to have a better chance at sending.
By: md_5 <git@md-5.net>
2015-09-15 19:52:51 +10:00
CraftBukkit/Spigot
1843b52039 SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
By: md_5 <git@md-5.net>
2015-09-06 15:05:56 +10:00
CraftBukkit/Spigot
fb04f93364 SPIGOT-949: Fix damage cooldown reducing explosion knockback
By: Jedediah Smith <jedediah@silencegreys.com>
2015-08-31 18:06:13 +10:00
CraftBukkit/Spigot
280ae804ee SPIGOT-1111: Fix ServerCommandEvent not being cancelled.
By: md_5 <git@md-5.net>
2015-08-08 18:42:24 +10:00
CraftBukkit/Spigot
c35a7254c5 Update for minor remapping changes.
By: md_5 <git@md-5.net>
2015-07-30 16:56:52 +10:00
CraftBukkit/Spigot
332e77d249 Update to Minecraft 1.8.8 (Pre-)Release.
By: md_5 <git@md-5.net>
2015-07-27 22:19:19 +10:00
CraftBukkit/Spigot
c0e326b62a Add a sane limit for name length
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-25 22:33:25 +01:00
CraftBukkit/Spigot
e909dd95d8 Implement PlayerResourcePackStatusEvent.
By: Adam Thomas <aet2505@gmail.com>
2015-07-25 18:19:37 +10:00
CraftBukkit/Spigot
9a15d77433 SPIGOT-1068: Limit the number of patterns on banners
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-23 20:50:53 +01:00
CraftBukkit/Spigot
059a14a3a5 Correctly update the last location for a player on teleport
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-23 20:37:58 +01:00
CraftBukkit/Spigot
ca6bbcbdc9 Correct handling of relative teleports for PlayerMoveEvent and PlayerTeleportEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-20 22:31:49 +01:00
CraftBukkit/Spigot
d9663c5e2b Fix handling of changes to PlayerVelocityEvent.velocity by event callers.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-20 22:42:30 +03:00
CraftBukkit/Spigot
ba5443ae84 SPIGOT-1058: Fix lost player list capping to 60.
Went missing in the 1.8 update.

By: md_5 <git@md-5.net>
2015-07-18 12:39:45 +10:00
CraftBukkit/Spigot
3bfbbcafa3 SPIGOT-1055: Send empty string when RCON command is cancelled.
Drops the RemoteControlSession patch as the decompiled code is a mess.

By: md_5 <git@md-5.net>
2015-07-17 21:18:48 +10:00
CraftBukkit/Spigot
2dc238689f SPIGOT-1047: Fix RCON.
Result of staging the file -> decompiler issues.

By: md_5 <git@md-5.net>
2015-07-13 16:45:38 +10:00
CraftBukkit/Spigot
6c1f679dd7 Implement ItemMergeEvent
By: Morphan1 <morphanone@gmail.com>
2015-06-26 05:55:33 -04:00
CraftBukkit/Spigot
b201f850d6 Server Commands and Remote Commands are now Cancellable.
By: Matt <mattbdev@outlook.com>
2015-07-12 19:54:34 +10:00
CraftBukkit/Spigot
fb20e9dc13 SPIGOT-1018: Fix isFromBonemeal always being false
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 22:50:32 +01:00
CraftBukkit/Spigot
e6c356ccec SPIGOT-915: Remove the getEntities filter
Didn't fix the issue like i'd hoped and broke a few plugins in the process.
Ideally though plugins shouldn't be using it for large ranges because it
is inefficient

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 22:42:08 +01:00
CraftBukkit/Spigot
edf24d4fd6 Fix modified fireworks from dispenser event
By: chickeneer <emcchickeneer@gmail.com>
2015-06-13 22:50:04 -05:00
CraftBukkit/Spigot
a06700d1aa SPIGOT-892: Set chicken egg baby age before adding it to world.
By: md_5 <git@md-5.net>
2015-06-12 16:00:08 +10:00
CraftBukkit/Spigot
90df5ef6df Raise the limit slightly to account for colors
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-12 10:38:20 +01:00
CraftBukkit/Spigot
c2130ccb81 Apply strict limits on the length of sign text
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-12 10:23:05 +01:00
CraftBukkit/Spigot
c270f2389a SPIGOT-970, MC-80484: Disallow NBT pick block on chests.
By: md_5 <git@md-5.net>
2015-06-12 15:30:12 +10:00
CraftBukkit/Spigot
3ad5a522b4 Allow for the jline console to be overriden in normally unsupported enviroments
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-11 12:59:36 +01:00
CraftBukkit/Spigot
edcd4ced4b SPIGOT-973: Add marker API to ArmorStand
By: Nathan Wolf <nathan@elmakers.com>
2015-06-09 09:34:37 +10:00
CraftBukkit/Spigot
611e993245 SPIGOT-954: Don't send block animations or gamemode updates to players can't see the player
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-07 21:04:28 +01:00
CraftBukkit/Spigot
b27cde3769 Use a Java 6 concurrent collection.
By: md_5 <git@md-5.net>
2015-06-07 19:56:28 +10:00
CraftBukkit/Spigot
5a6233a9e0 [SPIGOT-461] Use a more appropriate collection for conccurent UserCache
By: md_5 <git@md-5.net>
2015-06-07 19:51:26 +10:00
CraftBukkit/Spigot
6efbe65378 Fix HashTreeSet which went missing in the previous commit.
By: md_5 <git@md-5.net>
2015-06-06 19:51:11 +10:00
CraftBukkit/Spigot
58abe21c5a [SPIGOT-946] Begin making use of access transforms to simplify patching.
By: md_5 <git@md-5.net>
2015-06-06 19:33:48 +10:00
CraftBukkit/Spigot
ae714e4861 Update to Minecraft 1.8.7
By: md_5 <git@md-5.net>
2015-06-05 20:57:48 +10:00
CraftBukkit/Spigot
7ffb160a28 Add PAIL comments to a few things.
By: md_5 <git@md-5.net>
2015-05-31 16:20:53 +10:00
CraftBukkit/Spigot
d51622e774 Don't need to special case certain monster spawn eggs as Mojang has long since fixed those issues.
By: md_5 <git@md-5.net>
2015-05-31 11:40:23 +10:00
CraftBukkit/Spigot
af0e9b8bf1 SPIGOT-941: Fix a mistake in vine handling
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-30 15:38:53 +01:00
CraftBukkit/Spigot
4f2f0c69f2 Handle a missed case with our vanilla permissions override
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-30 00:06:18 +01:00
CraftBukkit/Spigot
0bd951b1a4 [SPIGOT-424, MC-73474] Add fix for powered rail duplication.
No redstone related side effects that we know of and hopefully there are none. Please report any to the tracker.

By: md_5 <git@md-5.net>
2015-05-29 19:45:17 +10:00
CraftBukkit/Spigot
5e6f5eeb0d BUILDTOOLS-114 / MC-80817 : Fix server not starting when native processor info cannot be initialized.
By: md_5 <git@md-5.net>
2015-05-29 15:23:52 +10:00
CraftBukkit/Spigot
66c4b9d50d SPIGOT-738: Return explosion source for Fireball-induced explosions
By: Nathan Wolf <nathan@elmakers.com>
2015-05-26 18:48:53 +10:00
CraftBukkit/Spigot
d15cfa4c49 Don't toString disconnect message in console.
By: md_5 <git@md-5.net>
2015-05-26 18:40:15 +10:00
CraftBukkit/Spigot
d1875d1941 Update to Minecraft 1.8.6
By: md_5 <git@md-5.net>
2015-05-25 22:04:32 +10:00
CraftBukkit/Spigot
6c1c28bd14 Cut fluff from patch headers.
By: md_5 <git@md-5.net>
2015-05-25 20:37:24 +10:00
CraftBukkit/Spigot
e5baf3afa5 Check the value returned from useItemInHand() so plugins can properly cancel it - SPIGOT-764
By: DemonWav <demonwav@gmail.com>
2015-05-22 22:52:05 -05:00
CraftBukkit/Spigot
8073f9d893 Update to 1.8.5
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-22 14:33:34 +01:00
CraftBukkit/Spigot
fa0d9a146c Invalidate furnace block type after change.
By: md_5 <git@md-5.net>
2015-05-21 19:02:38 +10:00
CraftBukkit/Spigot
b4c6dbf986 SPIGOT-834: Stop EnderMites from spawning when EnderPearl event is cancelled.
By: md_5 <git@md-5.net>
2015-05-21 17:28:21 +10:00
CraftBukkit/Spigot
4591f3b039 SPIGOT-844: Use actual block when deciding to send visual updates for burning furnaces.
By: md_5 <git@md-5.net>
2015-05-21 17:23:29 +10:00
CraftBukkit/Spigot
a59ab39d5c SPIGOT-854: Reset idle timer on disconnect to prevent spam duplicate disconnect.
By: md_5 <git@md-5.net>
2015-05-21 17:15:47 +10:00
CraftBukkit/Spigot
d30fdfd814 SPIGOT-887: Fix getOwner() on internal sheep inventories.
By: md_5 <git@md-5.net>
2015-05-21 16:56:58 +10:00
CraftBukkit/Spigot
e1ae116f43 Readd missed diff
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-20 16:15:22 +01:00
CraftBukkit/Spigot
38b1bb1aef Update to 1.8.4
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-05 21:43:47 +01:00
CraftBukkit/Spigot
6d1b6a4ed0 Revert: Don't try and disconnect twice
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-17 11:55:10 +01:00
CraftBukkit/Spigot
3b8d2bedd8 Move a bug fix from Spigot to CraftBukkit
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-16 22:20:57 +01:00
CraftBukkit/Spigot
b69e64b88d Fix NPE that could happen on teleporting
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-16 21:23:26 +01:00
CraftBukkit/Spigot
bce492ad11 SPIGOT-697: Force metadata updates when interact events are cancelled
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-15 17:35:14 +01:00
CraftBukkit/Spigot
183390cd0b SPIGOT-795: Enable the vehicle's ai before teleporting
Handles a case where a plugin dismounts the player during the event

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-15 16:29:02 +01:00
CraftBukkit/Spigot
00a72e1d9e Don't try and disconnect twice
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-15 16:24:53 +01:00
CraftBukkit/Spigot
10df55dc00 SPIGOT-802: Improve book handling
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-14 10:14:29 +01:00
CraftBukkit/Spigot
9e0aa6efaa SPIGOT-645: Fix players/entities being dismounted when the destroy event was cancelled
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 12:01:55 +01:00
CraftBukkit/Spigot
759c72f0aa SPIGOT-694: Fix a mis-placed diff causing the event to fire too early
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 11:55:00 +01:00
CraftBukkit/Spigot
290b584eb4 SPIGOT-758: Capture head drops from charged creeper kills
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 11:47:47 +01:00
CraftBukkit/Spigot
6bd7443dc3 SPIGOT-782: Don't drop exp if a plugin sets it to zero
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 11:25:13 +01:00
CraftBukkit/Spigot
ab841e7d50 Replace the two nextTickList sets with a single one that combines both
Should prevent them from going out of sync

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 11:04:38 +01:00
CraftBukkit/Spigot
5093b8e50a Special case record placement into juke boxes as they update their tile.
By: md_5 <git@md-5.net>
2015-04-10 21:24:34 +10:00
CraftBukkit/Spigot
b3ac41214f SPIGOT-762: Update damage taken stats on damage
By: md_5 <git@md-5.net>
2015-04-09 10:18:21 +10:00
CraftBukkit/Spigot
8b76604210 SPIGOT-763: Directly changing to location in PlayerMoveEvent does not update location.
By: md_5 <git@md-5.net>
2015-04-09 10:11:40 +10:00
CraftBukkit/Spigot
d9f561f868 Expand the isFinite checks to yaw and pitch
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-03 01:36:47 +01:00
CraftBukkit/Spigot
1ec9efe31c Don't allow liquids to flow into unloaded chunks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-01 17:21:15 +01:00
CraftBukkit/Spigot
27e257894a SPIGOT-720: Fix NPE in TileEntity.getOwner
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:45:26 +00:00
CraftBukkit/Spigot
907a84aee3 Implement BlockExplodeEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:42:46 +00:00
CraftBukkit/Spigot
4a691031e7 SPIGOT-725: Always return captured tile entities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:21:34 +00:00
CraftBukkit/Spigot
8b5a096503 Fix thread safety issues in EntitySlice
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:06:55 +00:00
CraftBukkit/Spigot
c52ea50ad9 SPIGOT-729: Revert the entity slice move
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:01:30 +00:00
CraftBukkit/Spigot
e1387f5ef4 Fire PlayerTeleport event on portal travel
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-21 20:36:38 +00:00
CraftBukkit/Spigot
02c89ee898 Update the rename markers
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-19 21:29:12 +00:00
CraftBukkit/Spigot
4af7c7ec4b Move the entity slice loading
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 19:44:51 +00:00
CraftBukkit/Spigot
bb20501495 SPIGOT-711: Correctly init captured tile entities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 15:55:10 +00:00
CraftBukkit/Spigot
d8fe9a05dd SPIGOT-291: Change from scoreboard per a world to scorebard per a server
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 11:32:53 +00:00
CraftBukkit/Spigot
3b09feddb2 Capture tile entities and only place them in the event succeeds
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 09:48:01 +00:00
CraftBukkit/Spigot
605de3306b SPIGOT-705: Fix possible CME
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-15 21:38:05 +00:00
CraftBukkit/Spigot
1434cff8a2 Fix possible tick list syncing issue
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-15 21:11:15 +00:00
CraftBukkit/Spigot
885c16fc03 SPIGOT-693: Fix misplaced comment.
By: md_5 <git@md-5.net>
2015-03-13 17:42:06 +11:00
CraftBukkit/Spigot
55e92691a8 Don't run tasks when the server is stopping
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 10:44:51 +00:00
CraftBukkit/Spigot
ab23a912dc SPIGOT-677: Add populators slightly later to make sure everything is initialized
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 10:15:39 +00:00
CraftBukkit/Spigot
ed95d00687 SPIGOT-665: Fix ghost blocks when cancelling piston events
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-09 22:34:05 +00:00
CraftBukkit/Spigot
985e4a2961 Only double switch if the dimension is the same
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 10:58:10 +00:00
CraftBukkit/Spigot
cbd4463daa Readd the double dimension switch
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 10:28:12 +00:00
CraftBukkit/Spigot
0c5e6e0dac SPIGOT-626: Add populators early to prevent chunks being missed
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 10:08:19 +00:00
CraftBukkit/Spigot
88b41a7ab2 SPIGOT-657: Set armor stand noclip flag in correct place.
By: md_5 <git@md-5.net>
2015-03-08 19:10:56 +11:00
CraftBukkit/Spigot
4701a20df4 SPIGOT-644: Attempt to fix a long standing issue by limiting the range of getEntities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 00:44:47 +00:00
CraftBukkit/Spigot
80681d832a SPIGOT-654: Use the server player list instead of the world for boss spawn/death sounds
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-07 15:02:53 +00:00
CraftBukkit/Spigot
e84523def9 Fix a null pointer issue with multiworld
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-07 12:11:01 +00:00
CraftBukkit/Spigot
85be409b13 Update to Minecraft 1.8.3
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-26 22:41:06 +00:00
CraftBukkit/Spigot
d789ce91d4 SPIGOT-602: Kick players with non-finite locations
By: md_5 <git@md-5.net>
2015-02-26 21:28:38 +11:00
CraftBukkit/Spigot
fcb95ad15a SPIGOT-591: Optimize EntitySlice.iterator
Previously if the key 'this.c' was missing a new hashmap was created, this
caused thousands to be created each tick

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-20 10:19:11 +00:00
CraftBukkit/Spigot
f227bb34dc SPIGOT-447: Fix dismount causing a quick remount
By: md_5 <git@md-5.net>
2015-02-20 15:37:17 +11:00
CraftBukkit/Spigot
5919cc3d07 Make tab complete spam check more lenient.
By: md_5 <git@md-5.net>
2015-02-20 15:17:38 +11:00
CraftBukkit/Spigot
e89fe15799 Remove the double dimension switch as the issue seems fixed, if it breaks something blame SupaHam
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-18 21:30:58 +00:00
CraftBukkit/Spigot
7d56b1a543 Two more cases for BlockFire
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-17 14:06:54 +00:00
CraftBukkit/Spigot
48d9be8bf4 Fix a missed case in BlockFire
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-17 13:47:14 +00:00
CraftBukkit/Spigot
8e114fd5fd Fix incorrect import in armor stands.
By: md_5 <git@md-5.net>
2015-02-15 12:48:56 +11:00
CraftBukkit/Spigot
ef269f1b15 Implement armor stand event.
By: FearThe1337 <admin@fearthe1337.com>
2015-02-15 12:24:14 +11:00
CraftBukkit/Spigot
082862d99f SPIGOT-557: Fix incorrect target reason for attacking an entity
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-12 14:16:45 +00:00
CraftBukkit/Spigot
51693d439b SPIGOT-540: Fix an issue when mob effects were added during an event caused by a mob effect
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-12 14:00:40 +00:00
CraftBukkit/Spigot
0c4275df2a If an enchanting table was force opened, default the world to the player's world for checks when dropping items. Fixes SPIGOT-408
By: Suddenly <suddenly@suddenly.coffee>
2015-01-31 16:43:37 +00:00
CraftBukkit/Spigot
434cc1f55b Fix the server stopping multiple times on shutdown
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-07 10:39:00 +00:00
CraftBukkit/Spigot
31eccc6372 SPIGOT-536: Delay physics updates for tall plants until both parts are set
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-07 10:08:55 +00:00
CraftBukkit/Spigot
77f7c3e705 Fix SPIGOT-528: Incorrect owner for merchant inventories.
By: md_5 <git@md-5.net>
2015-02-06 20:42:11 +11:00
CraftBukkit/Spigot
6f11b7ce12 SPIGOT-527: Improve vanilla's ping handling
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-05 19:04:03 +00:00
CraftBukkit/Spigot
35b668b61b Fix some null pointer issues in ThreadPlayerLookupUUID
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-05 10:01:47 +00:00
CraftBukkit/Spigot
a270799286 Handle new players correctly
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-04 20:33:06 +00:00
CraftBukkit/Spigot
236cb88c53 Improve vanilla's rename detection by using bukkit's lastKnownName nbt tag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-04 19:29:07 +00:00
CraftBukkit/Spigot
7a9f4fb3c1 Re-enable the vanilla feature of changing the join message if a player has changed name since their last join
This uses the UserCache (like vanilla) and therefore is limited to whether
they are still in the cache by the next join

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-03 23:38:21 +00:00
CraftBukkit/Spigot
e6caad3ac8 Fix BlockIgniteEvent and BlockSpreadEvent being called with the wrong locations
in some cases

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-03 17:46:30 +00:00
CraftBukkit/Spigot
c3f984b714 SPIGOT-512: Fix SmallFireballs ignoring isIncendiary
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-02 22:01:05 +00:00
CraftBukkit/Spigot
4dd6d9a450 SPIGOT-465: Allow cancelling BlockPlaceEvent to preven wither spawns
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-02 21:55:33 +00:00
CraftBukkit/Spigot
0a6de53abf Fix exceptions from tasks being ignored
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-02 20:53:21 +00:00
CraftBukkit/Spigot
18c03d87ac Fix a null pointer in ShapeDetectorBlock
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-02 20:27:12 +00:00
CraftBukkit/Spigot
2c9a7d4b67 SPIGOT-508: Set noclip flag when changing armor stand gravity
By: md_5 <git@md-5.net>
2015-02-01 18:12:55 +11:00
CraftBukkit/Spigot
d170fe5d83 SPIGOT-506: Falling blocks are special too
By: md_5 <git@md-5.net>
2015-02-01 16:13:17 +11:00
CraftBukkit/Spigot
31111ba23e Fix client chunk leak when preforming large block/chunk updates
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-30 23:33:58 +00:00
CraftBukkit/Spigot
bb3cb83819 SPIGOT-458: Events / game rules shouldn't affect fall damage onto soil.
By: md_5 <git@md-5.net>
2015-01-31 10:14:29 +11:00
CraftBukkit/Spigot
1d5bdcd372 SPIGOT-240: Fire physics events for crops dying.
By: md_5 <git@md-5.net>
2015-01-31 10:09:45 +11:00
CraftBukkit/Spigot
32245560d3 SPIGOT-485: Special case TnT in explosions.
I tested this in the original commit, maybe IDE didn't recompile properly.

By: md_5 <git@md-5.net>
2015-01-28 08:51:25 +11:00
CraftBukkit/Spigot
c566c08c10 SPIGOT-449: Fix the wrong caller being used in chain execute commands
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-25 15:17:48 +00:00
CraftBukkit/Spigot
8689eefb4e SPIGOT-161: Don't apply velocity changes if we didn't damage on explosion.
By: md_5 <git@md-5.net>
2015-01-25 10:45:02 +11:00
CraftBukkit/Spigot
6aae18ca07 SPIGOT-468: Treat wither skulls as projectiles with a shooter for damage purposes.
By: md_5 <git@md-5.net>
2015-01-25 10:20:00 +11:00
CraftBukkit/Spigot
b8395d4c51 SPIGOT-451: Fix bad entities crashing servers when spawned via MobSpawner
By: Zach Brown <Zbob750@live.com>
2015-01-18 02:11:36 -06:00
CraftBukkit/Spigot
5ddaa5efd0 Rework piston events to only fire a retract event for sticky pistons
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-19 23:27:40 +00:00
CraftBukkit/Spigot
368b414b8d SPIGOT-429: Use correct block for checking Block.b (canReplace)
By: md_5 <git@md-5.net>
2015-01-16 17:56:09 +11:00
CraftBukkit/Spigot
11d97d96a2 SPIGOT-418: Ensure vehicle events are fired.
By: md_5 <git@md-5.net>
2015-01-16 14:48:42 +11:00
CraftBukkit/Spigot
7f26add625 Fix the CraftWorld weather methods duplicating events.
By: md_5 <git@md-5.net>
2015-01-13 20:40:23 +11:00
CraftBukkit/Spigot
1ff313a7d7 Fix null pointer in ChatBaseComponent's hashCode method
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-11 18:46:09 +00:00
CraftBukkit/Spigot
04c9a53768 SPIGOT-387: Remove redundant custom vehicle handling.
By: md_5 <git@md-5.net>
2015-01-09 16:59:18 +11:00
CraftBukkit/Spigot
15ca3ff2bc Fix mistake in vine growth
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-06 23:53:53 +00:00
CraftBukkit/Spigot
6f2bf51a2f SPIGOT-321: Fire damage event for EntityItem.
By: md_5 <git@md-5.net>
2015-01-07 09:58:56 +11:00
CraftBukkit/Spigot
b6c863cc7f SPIGOT-362: Specify a teleport cause for specatator teleports
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-06 20:21:14 +00:00
CraftBukkit/Spigot
a0ba0d3367 Redirect execute through our command system and allow entities to be CommandSenders
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 23:25:31 +00:00
CraftBukkit/Spigot
0631c274f8 SPIGOT-341: Backport ender pearl spawning fix from 1.8.1
By: md_5 <git@md-5.net>
2015-01-05 10:11:50 +11:00
CraftBukkit/Spigot
903e0033c1 Rewrite storm / thunder event handling to catch all cases. Fixes SPIGOT-335.
By: md_5 <git@md-5.net>
2015-01-05 09:50:48 +11:00
CraftBukkit/Spigot
d0fe692fd3 SPIGOT-178: Treat ItemStacks of 0 size as empty
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 22:06:29 +00:00
CraftBukkit/Spigot
258f6be856 SPIGOT-296: Fix stack overflow when a dispense event is set to bonemeal
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 20:42:31 +00:00
CraftBukkit/Spigot
87bbeed94d SPIGOT-270: Fire inventory events for spectator mode (but cancelled)
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 20:23:54 +00:00
CraftBukkit/Spigot
d0e0538aa0 Fix kick messages being lost
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 20:12:02 +00:00
CraftBukkit/Spigot
5a46679378 SPIGOT-217: Fix VehicleBlockCollisionEvent having the wrong block location
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 20:00:42 +00:00
CraftBukkit/Spigot
12d0e8ef28 SPIGOT-354: Fix the version being incorrect for level.dat
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 19:54:51 +00:00
CraftBukkit/Spigot
38e62cd599 Correctly close chests cancelled for cancelled inventory open events
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-28 16:05:42 +00:00
CraftBukkit/Spigot
54a4d6d1b4 SPIGOT-287: Fire a cancelled inventory open event for locked chests
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-28 15:14:53 +00:00
CraftBukkit/Spigot
d6d6e260d7 SPIGOT-307: Fix inverted logic in WorldServer.sendParticles
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-28 14:56:18 +00:00
CraftBukkit/Spigot
162d706789 SPIGOT-303: Fix NPE in ChatModifier
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-27 19:29:22 +00:00