Archiviert
13
0
Commit graph

658 Commits

Autor SHA1 Nachricht Datum
Aikar
1953f52da1 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.
2016-06-23 10:34:08 +10:00
Ryan Michela
9af379fc47 SPIGOT-1319: Add EntityBreedEvent 2016-06-19 20:14:09 +10:00
Jadon Fowler
63839165bc
Fix infinite loop when saving chunks
Running `/save-all flush` would start an infinite loop that prints:
    ThreadedAnvilChunkStorage (world): All chunks are saved
2016-06-18 04:31:44 -07:00
md_5
02f4218da5 SPIGOT-2414: Repeated disconnects 2016-06-15 13:45:11 +10:00
md_5
71cd505d45 SPIGOT-2405: Better event for combust due to fire 2016-06-15 13:31:35 +10:00
md_5
7f1a32252b SPIGOT-2385: RegionFileCache synchronization issues 2016-06-12 19:28:27 +10:00
md_5
ac58f3840e SPIGOT-2348: EntityTeleportEvent cancellation 2016-06-12 12:51:53 +10:00
md_5
1f507256e7 SPIGOT-2322: Chunks generating with missing / corrupted data. 2016-06-12 12:28:08 +10:00
md_5
f642d4bcc3 SPIGOT-2397: More calls to VehicleEntityCollisionEvent 2016-06-12 10:45:03 +10:00
minoneer
e2ff10bdcd SPIGOT-1124: Changed To-Location on Teleport event ignored 2016-06-12 10:33:08 +10:00
md_5
fa83b1b80c SPIGOT-2388: Damage must be nulled out in some circumstances 2016-06-12 10:13:51 +10:00
md_5
d5ecbd0e93 SPIGOT-2387: Magma does not provide a block for EntityDamageEvent. 2016-06-11 16:11:51 +10:00
md_5
3ae3ea08f2 SPIGOT-1550, SPIGOT-2306: Custom payload / book + event fixes 2016-06-11 12:21:04 +10:00
Tom E
10c10b3124 SPIGOT-2366: Fix a missed diff PortalTravelAgent.patch 2016-06-09 21:25:21 +10:00
md_5
5a55e13868 SPIGOT-2365: Missed hanging diff 2016-06-09 20:42:49 +10:00
md_5
b2f31b74d0 SPIGOT-2364: Fix hanging placing. 2016-06-09 14:27:59 +10:00
md_5
885f4dce9e Restore some Vanilla behaviour to fix magma blocks 2016-06-09 12:50:21 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
5ae53e0d5c SPIGOT-2335: EntityCreeper.setPowered 2016-05-31 20:53:37 +10:00
md_5
71e5248c8b SPIGOT-636: Decouple EntityCombustByEntity from damageEntity 2016-05-28 22:10:59 +10:00
md_5
106ced01e0 Implement PlayerChangedMainHandEvent 2016-05-27 18:53:36 +10:00
md_5
3c19fef26e SPIGOT-2321: Fully check Vanilla command permissions 2016-05-26 21:06:28 +10:00
md_5
042911fef4 SPIGOT-2311: Cancelling PlayerPortalEvent causes invulnerability until relog 2016-05-25 18:25:49 +10:00
md_5
a022dd22fd SPIGOT-2303: Use getChunkIfLoaded 2016-05-22 13:57:44 +10:00
md_5
8982e3f33e SPIGOT-2297: Reintroduce getChunkIfLoaded 2016-05-22 11:36:38 +10:00
md_5
6d133d5440 SPIGOT-2282: Get loaded chunk 2016-05-15 22:14:47 +10:00
md_5
3d0ed18e38 Fix CraftBukkit crash report details not showing 2016-05-15 22:12:06 +10:00
md_5
23da8b0ab7 SPIGOT-2270: Retain Java 6 compat 2016-05-12 12:09:28 +10:00
md_5
901c5327f8 SPIGOT-2271: Custom furnace experience error 2016-05-12 12:07:58 +10:00
md_5
e22506f964 Use direct chunk access for neighbour counts on unload 2016-05-11 16:01:17 +10:00
md_5
7e9122e74d Fix some [but not all] chunk unload issues 2016-05-11 15:34:16 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
md_5
4cb32587ac SPIGOT-2255: Nether Structure generation ConcurrentModificationException 2016-05-07 16:33:01 +10:00
Thinkofname
ed60c01794 SPIGOT-2134: Use the correct listener in CommandExecute 2016-05-01 20:38:40 +01:00
md_5
4377b86b29 SPIGOT-2218: Drop horse chest on death 2016-04-26 09:26:23 +10:00
Thinkofname
22dcde52c9 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.
2016-04-24 17:35:59 +01:00
Jacob Martin
78434e8910 Remove debug message. 2016-04-23 09:49:06 -05:00
Thinkofname
b103841da3 SPIGOT-2171: Fix shield blocking sounds 2016-04-20 13:01:20 +01:00
Thinkofname
199b11bdd0 SPIGOT-2157: Fix enderman not playing their animation when attacking 2016-04-20 11:40:16 +01:00
Thinkofname
a4786c824f SPIGOT-2134: Support /execute being chained 2016-04-20 11:24:48 +01:00
Thinkofname
f060bba1ca SPIGOT-2043: Ensure VehicleMoveEvent is always fired for boats 2016-04-20 11:12:14 +01:00
Thinkofname
b5a4d07141 SPIGOT-2014: Respect the spectatorsGenerateChunks gamerule 2016-04-20 11:00:35 +01:00
Thinkofname
b70058afa2 SPIGOT-2191: Fix a missed diff from 1.8.8 2016-04-17 17:47:51 +01:00
md_5
f6313791d0 staticify backported method 2016-04-12 18:25:18 +10:00
md_5
1e2fcb38e4 Backport changes from 16w15a 2016-04-12 14:06:08 +10:00
md_5
11e8c6d338 SPIGOT-2145: Add missed EntityTeleportEvent diff 2016-04-08 19:06:31 +10:00
md_5
f326992b8b SPIGOT-2128: Flint and steel duplicate place event 2016-04-04 17:18:01 +10:00
Thinkofname
f01861f80b SPIGOT-2115: Fix entities being added to the world multiple times when teleported 2016-04-02 01:12:03 +01:00
Thinkofname
048849ce51 SPIGOT-2102: Don't reduce the movement limit below vanilla's default 2016-04-01 23:21:09 +01:00
Thinkofname
420afc57ef Handle cases where Mojang uses an empty string for permission checks 2016-04-01 22:58:20 +01:00
Aikar
f92e01ba5c 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.
2016-03-31 19:47:11 -04:00
Thinkofname
6247aa00cc SPIGOT-2101: Check the result of damageEntity before applying knockback from sweep attacks 2016-03-31 12:50:58 +01:00
Thinkofname
45bb40353a SPIGOT-2098: Fix sound effects for 1.9.0 clients 2016-03-31 11:34:47 +01:00
Thinkofname
9dc467e4c8 Fix a diff mistake in MobEffectList 2016-03-31 00:00:11 +01:00
Thinkofname
6e527e5b88 Update to Minecraft 1.9.2 2016-03-30 21:06:51 +01:00
Thinkofname
7fc5cd856e Support Minecraft 1.9.2 2016-03-30 16:58:31 +01:00
md_5
23ce4d1b96 Add 1.9.1 support. 2016-03-30 15:46:47 +01:00
Aikar
44216f12ed SPIGOT-2033: Re-add missed diff for entity.valid 2016-03-29 11:31:36 +11:00
Thinkofname
fc9ee90fc5 Limit the length of byte arrays 2016-03-28 21:19:05 +01:00
md_5
cac90f6236 Arrows use interactable condition 2016-03-27 20:58:45 +11:00
md_5
cd36f6f257 SPIGOT-2060: Method to control whether entities collide 2016-03-27 20:19:41 +11:00
md_5
1ea1adc10f SPIGOT-2056: Fix killedByTeam scoreboard criteria 2016-03-27 11:11:15 +11:00
md_5
6bf25cde7e SPIGOT-2034: Rework damage again, this time for snowballs. 2016-03-26 14:12:35 +11:00
md_5
99f22a5c59 SPIGOT-2050: Add back code to only fire VehicleEnterEvent for loaded chunks. 2016-03-26 09:19:10 +11:00
md_5
8e5eab2655 SPIGOT-1746: Tile entities may not always tick. 2016-03-25 14:04:27 +11:00
md_5
18658965d3 Apply DataConverters to ItemStack instances 2016-03-25 11:03:39 +11:00
Zach Brown
712213dacc Fix player dimension change invulnerability never getting unset when certain dimensions are disabled 2016-03-24 08:48:04 +11:00
2008Choco
9a072ddc1f SPIGOT-1733: Add PlayerPickupArrowEvent 2016-03-23 17:23:33 +11:00
Matthew
5fe510da59 SPIGOT-1934: Expand EnderDragon API - implement dragon phases 2016-03-23 07:30:12 +11:00
md_5
616a9687a1 SPIGOT-1975: Fix falling blocks when height > 1 2016-03-22 18:04:02 +11:00
md_5
d4e50bef9d Improve shield damage 2016-03-22 14:54:21 +11:00
md_5
c91d092bcd SPIGOT-1993: Move hand check to proper location 2016-03-20 16:53:36 +11:00
md_5
622014a3b4 SPIGOT-1984: Fix default interact state when sneaking 2016-03-20 13:48:21 +11:00
md_5
6cac62c64d Fix strange potion diff 2016-03-20 13:42:12 +11:00
md_5
549962feaf SPIGOT-1991: Further damage fixes 2016-03-20 13:40:12 +11:00
t00thpick1
b3f6de0da5 SPIGOT-1904: AreaEffectCloud events and additional API 2016-03-20 11:29:03 +11:00
0x277F
02b26eec0e SPIGOT-1986: Fix flying players spamming EntityToggleGlideEvent 2016-03-20 11:01:52 +11:00
md_5
a8eec15e53 SPIGOT-1981: Another attempt at damage 2016-03-20 10:56:05 +11:00
md_5
8269b99393 SPIGOT-1968: Use correct explosion yield 2016-03-19 12:19:17 +11:00
md_5
ff617f73cd SPIGOT-1956: Don't deplete projectile item when event cancelled 2016-03-19 11:13:15 +11:00
md_5
2bfda1f8f4 SPIGOT-1680 / SPIGOT-1963: Improve damage blocking modifier accuracy 2016-03-18 19:04:23 +11:00
Matthew
f09f7d8754 Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int) 2016-03-18 14:30:14 +11:00
Matthew
e80114dff4 Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean) 2016-03-18 14:30:03 +11:00
Matthew
205982588f Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location) 2016-03-18 14:30:03 +11:00
Matthew
45adbd9c6f SPIGOT-1931: Call PlayerFishEvent before modifying hooked entities velocity 2016-03-16 07:11:44 +11:00
md_5
00d333414a SPIGOT-1927: Don't allow circular entity riding 2016-03-15 15:09:39 +11:00
0x277F
feb2fd5e43 SPIGOT-1930: Fix spam for EntityToggleGlideEvent 2016-03-15 15:02:11 +11:00
BlackHole
87e677ce49 Add spawn reasons for entities involved in a skeleton trap 2016-03-14 16:54:38 +11:00
md_5
ab8459e181 SPIGOT-1532: Add PlayerSwapHandItemsEvent 2016-03-14 16:53:46 +11:00
Matthew
cbebfa439f SPIGOT-1849: Call EntityBlockFormEvent when an entity forms frosted ice using frost walker 2016-03-13 08:25:27 +11:00
md_5
6026dad124 Fix switch case labelling and drop items check. 2016-03-12 21:07:17 +11:00
0x277F
1386bd3ddf SPIGOT-1571: Add Entity Glide Events. 2016-03-12 21:01:07 +11:00
md_5
d0e326a071 SPIGOT-1900: Stub out expensive and redundant method call 2016-03-12 20:43:04 +11:00
md_5
0619f0eb3b SPIGOT-1725: Fix dynamic scoreboard criteria on non-main scoreboards 2016-03-12 17:57:40 +11:00
t00thpick1
4a8818c5fd SPIGOT-1638 / SPIGOT-1673: Rework Potions API 2016-03-12 12:38:22 +11:00
md_5
75286088fe SPIGOT-1893: Wrong RegainReason for eating. 2016-03-12 11:12:38 +11:00
md_5
7d73fbba6e SPIGOT-1875: Broken leashes not dropping 2016-03-11 19:24:57 +11:00
md_5
7d330bc9f3 SPIGOT-1813: EntityCombustByEntityEvent not Cancelled 2016-03-11 07:01:38 +11:00
Thinkofdeath
c126d6101e 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.
2016-03-10 19:47:48 +00:00
md_5
dd016e7135 SPIGOT-1847: Maps in non default worlds 2016-03-10 16:42:07 +11:00
BlackHole
68b72776a9 Missing diff effecting frost walker ignoring entities 2016-03-10 07:49:44 +11:00
BlackHole
a602cb2e8c Call EntityChangedBlockEvent for water splash potions extinguishing fire 2016-03-10 07:49:39 +11:00
BlackHole
5d90f9712b SPIGOT-1845: Use correct hand for interact events 2016-03-09 07:44:39 +11:00
md_5
0705465a75 SPIGOT-1841: Implement some of the missing EnderDragon events. 2016-03-08 18:53:14 +11:00
md_5
3b375b354e SPIGOT-1831: Chicken / sheep not dropping items correctly. 2016-03-08 17:58:52 +11:00
md_5
bf43ca62a6 SPIGOT-1816: Rework drop capture. 2016-03-07 19:51:42 +11:00
md_5
ab83272e2a SPIGOT-1820: Fix custom travel agent search radius. 2016-03-07 19:13:41 +11:00
Thinkofdeath
0cd6711085 Fix regenerating chunks not updating visually 2016-03-06 23:50:19 +00:00
Thinkofdeath
a06e5cf8e8 SPIGOT-1788: Correctly teleport the player back to their old location 2016-03-06 22:17:32 +00:00
Thinkofdeath
8ad0cd0895 SPIGOT-1611: Make vehicles use the same speed checks as players 2016-03-06 21:33:27 +00:00
md_5
935349e3a3 Fix issue with last patch. 2016-03-06 21:42:34 +11:00
BlackHole
be0bbbabef SPIGOT-1762: Call EntityChangeBlockEvent for boats destroying lily pads 2016-03-06 21:36:11 +11:00
md_5
55b0def5d9 SPIGOT-1790: Fix bucket behaviour 2016-03-06 16:41:13 +11:00
md_5
23a94053b0 Remove redundant syncInventory on world change 2016-03-06 16:25:50 +11:00
md_5
dd745e8842 SPIGOT-1727: Fix ShulkerBullet.setTarget 2016-03-06 14:56:09 +11:00
md_5
972d33dd44 SPIGOT-1573: Fix command blocks after respawning 2016-03-06 14:35:33 +11:00
md_5
dd39fae861 SPIGOT-1775: Pass in unshifted block for PlayerBucketEmptyEvent 2016-03-06 12:42:45 +11:00
md_5
50b4cb8e72 SPIGOT-1749 / MC-99075: Call updateInventory as a temporary workaround for cancelled BlockPlaceEvent 2016-03-06 12:34:51 +11:00
md_5
3c1ec8a54e SPIGOT-1663: Fix WorldBorder displaying in secondary worlds. 2016-03-06 12:13:07 +11:00
md_5
97f0011855 SPIGOT-1764: Perform drops regardless of loot table 2016-03-06 11:30:03 +11:00
md_5
9e8c377287 Update chorus fruit tele event destination. 2016-03-06 09:57:59 +11:00
md_5
d6a61e3e5d SPIGOT-1776: Replace BossBar.hide/show with visibility. 2016-03-06 09:55:36 +11:00
md_5
249c5f0680 SPIGOT-1773: Chorus fruit teleport reason 2016-03-06 09:46:57 +11:00
md_5
ac251f0cf9 SPIGOT-1613: Fix missed use of scaled health 2016-03-06 08:38:01 +11:00
Oliver Dunk
73eff0d75d SPIGOT-1755: CommandBlock doesn't run on empty world 2016-03-05 22:36:13 +11:00
md_5
60f01ef304 SPIGOT-1626 / MC-98994: Fix slow chunk performance
Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.
2016-03-05 18:50:38 +11:00
md_5
dcc45717b9 SPIGOT-1751: Add missed PlayerFishEvent for FAILED_ATTEMPT 2016-03-05 15:46:56 +11:00
md_5
5a3813d7fe SPIGOT-1608: Add a way to get the hand used in PlayerInteract*Events 2016-03-04 15:24:51 +11:00
Thinkofdeath
31caee5a94 SPIGOT-1646: Capture the previous location earlier 2016-03-03 11:15:04 +00:00
md_5
f5f09ffcbf SPIGOT-1634: Fix cancelling ServerCommandEvent 2016-03-03 16:56:07 +11:00
md_5
92439bb231 SPIGOT-1674: Enable crafting of tipped arrows. 2016-03-03 16:36:14 +11:00
Thinkofdeath
ed8cef0edb SPIGOT-1646: Don't move the player until after the PlayerMoveEvent completes 2016-03-02 23:06:53 +00:00
Thinkofdeath
189652175c SPIGOT-1632: Save secondary data for nether/end 2016-03-02 22:57:53 +00:00
Thinkofdeath
978ceb7a3e SPIGOT-1632: Fix a bug in EnderDragonBattle which prevented respawning the dragon in some cases 2016-03-02 22:25:35 +00:00
Thinkofdeath
8447e4f3ed SPIGOT-1659: Fix a mistake in ChunkProviderServer that sometimes caused recursive chunk loads 2016-03-02 21:29:11 +00:00
Thinkofdeath
6f032cdc8a Fix a mistake in EntityEnderPearl causing a double teleport 2016-03-02 16:48:00 +00:00
Thinkofdeath
3f534696a3 SPIGOT-1644: Fire PlayerTeleportEvent with reason END_GATEWAY for end gateways 2016-03-02 16:41:59 +00:00
md_5
a5d4a933bc SPIGOT-1583: Fix scoreboard crash.
Might not function 100%, but doesn't crash!
2016-03-02 21:29:57 +11:00
md_5
ffacb6cf79 SPIGOT-1624: Fix setPlayerListName 2016-03-02 18:32:06 +11:00
md_5
2fe69605ec SPIGOT-1605: Fix EntityChangeBlockEvent.setCancelled(Z)V 2016-03-02 17:07:08 +11:00
Thinkofdeath
f8e38f2d9f Fix chorus plants only straight growing up 2016-03-01 21:42:59 +00:00
Thinkofdeath
1be3bd058f SPIGOT-1607: Fix BlockPlaceEvent and BlockMultiPlaceEvent sometimes showing the wrong item used 2016-03-01 21:37:08 +00:00
Thinkofdeath
4ca1f89907 Manually calculate horses' jump power due to horse jumping being moved clientside 2016-03-01 21:08:40 +00:00
md_5
1d80ac2a7b SPIGOT-1590: Ensure plugins are disabled. 2016-03-02 06:33:41 +11:00
md_5
7c2b0ab69e SPIGOT-1596: BlockCauldron crash 2016-03-02 06:31:11 +11:00
md_5
0f297b39be SPIGOT-1569: Remove negative itemstack data filtering 2016-03-01 20:16:34 +11:00
md_5
5122dcd61e SPIGOT-1568: Fix jukeboxes 2016-03-01 20:07:44 +11:00
md_5
f0c37a1671 SPIGOT-1543: Return combined slots for PlayerInventory.getContents 2016-03-01 16:40:12 +11:00
md_5
fc2609dbbe SPIGOT-1540: Treat clicking on player model with ItemStack as none. 2016-03-01 13:52:34 +11:00
md_5
f5d92d6b12 SPIGOT-1525: Fix worldborder set. 2016-03-01 11:20:42 +11:00
md_5
c194444207 Remove BookEditEvent as a workaround for decompiler determinism issues. 2016-03-01 09:58:55 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
hibo98
3f3c65f471 [BUKKIT-3451] Use correct item amount for FurnaceExtractEvent.
Also don't call FurnaceExtractEvent when the item amount is 0.
2016-02-07 10:09:05 +11:00
md_5
efe04b82b2 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.
2016-02-05 11:48:30 +11:00
Thinkofdeath
75593ab621 SPIGOT-1308: Fix typo in PlayerList#sendAll 2016-01-22 11:13:34 +00:00
md_5
d3e0b6fead SPIGOT-1347: Don't change entity add behaviour, just print warning. 2015-12-17 10:24:55 +11:00
md_5
4ac23479e5 Add some warnings from snapshot versions to check whether they are applicable in 1.8.8 2015-12-15 17:12:32 +11:00
Thinkofdeath
efd6cb0812 Ensure the buffer for plugin messages is freed. 2015-10-07 21:39:43 +01:00
md_5
4a7472d0bf SPIGOT-1219: Allow ping without status query.
Also minor refactor to use more of the Vanilla logic.
2015-10-03 11:25:43 +10:00
DemonWav
d4e32cef0c SPIGOT-759: Add FireworkExplodeEvent. 2015-09-30 09:02:11 +10:00
md_5
62a216966f SPIGOT-1076: Add HurtEntities API for FallingBlock. 2015-09-19 09:27:51 +10:00
md_5
c3730616ee SPIGOT-625: Insert a small delay when shutting down to allow packets to have a better chance at sending. 2015-09-15 19:52:51 +10:00
md_5
9cd11117fe SPIGOT-1168: Fix setSleepingIgnored not working on spectators. 2015-09-06 15:05:56 +10:00
Jedediah Smith
9a17f01ff1 SPIGOT-949: Fix damage cooldown reducing explosion knockback 2015-08-31 18:06:13 +10:00
md_5
53fac9f1b6 SPIGOT-1111: Fix ServerCommandEvent not being cancelled. 2015-08-08 18:42:24 +10:00
md_5
9935adc4ed Update for minor remapping changes. 2015-07-30 17:13:35 +10:00
md_5
de5c26123f Update to Minecraft 1.8.8 (Pre-)Release. 2015-07-27 22:21:53 +10:00
Thinkofdeath
d27e6d0c54 Add a sane limit for name length 2015-07-25 22:33:25 +01:00
Adam Thomas
219686bdab Implement PlayerResourcePackStatusEvent. 2015-07-25 18:19:37 +10:00
Thinkofdeath
2642f9b344 SPIGOT-1068: Limit the number of patterns on banners 2015-07-23 20:50:53 +01:00
Thinkofdeath
dc40c528d7 Correctly update the last location for a player on teleport 2015-07-23 20:37:58 +01:00
Thinkofdeath
58d972f1dd Correct handling of relative teleports for PlayerMoveEvent and PlayerTeleportEvent 2015-07-20 22:31:49 +01:00
Antony Riley
83cb83dcd4 Fix handling of changes to PlayerVelocityEvent.velocity by event callers. 2015-07-20 22:45:21 +03:00
md_5
af00fd2a20 SPIGOT-1058: Fix lost player list capping to 60.
Went missing in the 1.8 update.
2015-07-18 12:39:45 +10:00
md_5
3d5ab8fca9 SPIGOT-1055: Send empty string when RCON command is cancelled.
Drops the RemoteControlSession patch as the decompiled code is a mess.
2015-07-17 21:18:55 +10:00
md_5
55589cd363 SPIGOT-1047: Fix RCON.
Result of staging the file -> decompiler issues.
2015-07-13 16:45:38 +10:00
Morphan1
2359f6fcb0 Implement ItemMergeEvent 2015-07-12 19:57:38 +10:00
Matt
8f9ff9f6fd Server Commands and Remote Commands are now Cancellable. 2015-07-12 19:54:34 +10:00
Thinkofdeath
7742e12aff SPIGOT-1018: Fix isFromBonemeal always being false 2015-07-08 22:50:32 +01:00
Thinkofdeath
e3b5669be1 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
2015-07-08 22:42:08 +01:00
chickeneer
c9c233b796 Fix modified fireworks from dispenser event 2015-06-27 15:41:08 +10:00
md_5
994b2aae3f SPIGOT-892: Set chicken egg baby age before adding it to world. 2015-06-21 09:20:07 +10:00
Thinkofdeath
8f0f4ed80f Raise the limit slightly to account for colors 2015-06-12 10:38:44 +01:00
Thinkofdeath
5d84673655 Apply strict limits on the length of sign text 2015-06-12 10:23:05 +01:00
md_5
a2d26409f7 SPIGOT-970, MC-80484: Disallow NBT pick block on chests. 2015-06-12 15:30:16 +10:00
Thinkofdeath
b023c53e03 Allow for the jline console to be overriden in normally unsupported enviroments 2015-06-11 12:59:36 +01:00
Nathan Wolf
1880a9c0b6 SPIGOT-973: Add marker API to ArmorStand 2015-06-09 09:36:31 +10:00
Thinkofdeath
53433de98d SPIGOT-954: Don't send block animations or gamemode updates to players can't see the player 2015-06-07 21:04:28 +01:00
md_5
04afd79178 Use a Java 6 concurrent collection. 2015-06-07 19:58:44 +10:00
md_5
7330b853ec [SPIGOT-461] Use a more appropriate collection for conccurent UserCache 2015-06-07 19:51:26 +10:00
md_5
7723b90d91 Fix HashTreeSet which went missing in the previous commit. 2015-06-06 19:51:11 +10:00
md_5
a65e45d889 [SPIGOT-946] Begin making use of access transforms to simplify patching. 2015-06-06 19:46:42 +10:00
md_5
a6a57a96d0 Update to Minecraft 1.8.7 2015-06-05 20:57:48 +10:00
md_5
3eea5637b4 Add PAIL comments to a few things. 2015-05-31 16:38:10 +10:00
md_5
6fe71f4c7f Don't need to special case certain monster spawn eggs as Mojang has long since fixed those issues. 2015-05-31 11:40:23 +10:00
Thinkofdeath
21681b3720 SPIGOT-941: Fix a mistake in vine handling 2015-05-30 15:38:53 +01:00
Thinkofdeath
8c14eb49ef Handle a missed case with our vanilla permissions override 2015-05-30 00:06:18 +01:00
md_5
5084899747 [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.
2015-05-29 19:45:17 +10:00
md_5
e9980aa94f BUILDTOOLS-114 / MC-80817 : Fix server not starting when native processor info cannot be initialized. 2015-05-29 15:23:59 +10:00
Nathan Wolf
01930e268e SPIGOT-738: Return explosion source for Fireball-induced explosions 2015-05-26 18:50:33 +10:00
md_5
b29f737cb3 Don't toString disconnect message in console. 2015-05-26 18:40:15 +10:00
md_5
b0e81a4ede Update to Minecraft 1.8.6 2015-05-25 22:04:32 +10:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
DemonWav
961287a4cc Check the value returned from useItemInHand() so plugins can properly cancel it - SPIGOT-764 2015-05-23 09:45:42 -05:00
Thinkofdeath
529e4cd74a Update to 1.8.5 2015-05-22 14:34:10 +01:00
md_5
f87cd1a53d Invalidate furnace block type after change. 2015-05-21 19:02:38 +10:00
md_5
65fba7fb10 SPIGOT-834: Stop EnderMites from spawning when EnderPearl event is cancelled. 2015-05-21 17:28:21 +10:00
md_5
6ff4221581 SPIGOT-844: Use actual block when deciding to send visual updates for burning furnaces. 2015-05-21 17:23:29 +10:00
md_5
99449d5d8f SPIGOT-854: Reset idle timer on disconnect to prevent spam duplicate disconnect. 2015-05-21 17:15:47 +10:00
md_5
3408adb009 SPIGOT-887: Fix getOwner() on internal sheep inventories. 2015-05-21 16:57:14 +10:00
Thinkofdeath
5e914463bf Readd missed diff 2015-05-20 16:15:22 +01:00
Thinkofdeath
a486600749 Update to 1.8.4 2015-05-17 10:32:59 +01:00
Thinkofdeath
ba325926d5 Revert: Don't try and disconnect twice 2015-04-17 11:55:10 +01:00
Thinkofdeath
7aaa833438 Move a bug fix from Spigot to CraftBukkit 2015-04-16 22:20:57 +01:00
Thinkofdeath
ab309d78c6 Fix NPE that could happen on teleporting 2015-04-16 21:23:26 +01:00
Thinkofdeath
ea28011f10 SPIGOT-697: Force metadata updates when interact events are cancelled 2015-04-15 17:35:14 +01:00
Thinkofdeath
f13d771bb4 SPIGOT-795: Enable the vehicle's ai before teleporting
Handles a case where a plugin dismounts the player during the event
2015-04-15 16:29:02 +01:00
Thinkofdeath
9fd06274c9 Don't try and disconnect twice 2015-04-15 16:24:53 +01:00
Thinkofdeath
815922ab1a SPIGOT-802: Improve book handling 2015-04-14 10:14:29 +01:00
Thinkofdeath
a5b7881dbe SPIGOT-645: Fix players/entities being dismounted when the destroy event was cancelled 2015-04-13 12:01:55 +01:00
Thinkofdeath
643486f469 SPIGOT-694: Fix a mis-placed diff causing the event to fire too early 2015-04-13 11:55:00 +01:00
Thinkofdeath
85cf593df9 SPIGOT-758: Capture head drops from charged creeper kills 2015-04-13 11:47:47 +01:00
Thinkofdeath
889a5eca6e SPIGOT-782: Don't drop exp if a plugin sets it to zero 2015-04-13 11:25:13 +01:00
Thinkofdeath
35d953bac8 Replace the two nextTickList sets with a single one that combines both
Should prevent them from going out of sync
2015-04-13 11:04:38 +01:00
md_5
501372f2c9 Special case record placement into juke boxes as they update their tile. 2015-04-10 21:24:45 +10:00
md_5
1a1bc08e38 SPIGOT-762: Update damage taken stats on damage 2015-04-09 10:18:21 +10:00
md_5
b4af37bf70 SPIGOT-763: Directly changing to location in PlayerMoveEvent does not update location. 2015-04-09 10:11:40 +10:00
Thinkofdeath
7d020a7041 Expand the isFinite checks to yaw and pitch 2015-04-03 01:36:47 +01:00
Thinkofdeath
63e28b1c3d Don't allow liquids to flow into unloaded chunks 2015-04-01 17:21:15 +01:00
Thinkofdeath
7d0f836d0f SPIGOT-720: Fix NPE in TileEntity.getOwner 2015-03-22 19:45:26 +00:00
Thinkofdeath
e387d8dc77 Implement BlockExplodeEvent 2015-03-22 19:42:46 +00:00
Thinkofdeath
22c613d869 SPIGOT-725: Always return captured tile entities 2015-03-22 19:21:34 +00:00
Thinkofdeath
970be7a444 Fix thread safety issues in EntitySlice 2015-03-22 19:06:55 +00:00
Thinkofdeath
3fce0ec0f5 SPIGOT-729: Revert the entity slice move 2015-03-22 19:01:30 +00:00
Thinkofdeath
0af2738ae2 Fire PlayerTeleport event on portal travel 2015-03-21 20:36:38 +00:00
Thinkofdeath
350cb9927e Update the rename markers 2015-03-19 21:29:33 +00:00
Thinkofdeath
30d751b362 Move the entity slice loading 2015-03-16 19:44:51 +00:00
Thinkofdeath
22ee419816 SPIGOT-711: Correctly init captured tile entities 2015-03-16 15:55:10 +00:00
Thinkofdeath
6fe6b3842c SPIGOT-291: Change from scoreboard per a world to scorebard per a server 2015-03-16 11:32:53 +00:00
Thinkofdeath
55f3a3ea9e Capture tile entities and only place them in the event succeeds 2015-03-16 09:48:01 +00:00
Thinkofdeath
7f609b12b9 SPIGOT-705: Fix possible CME 2015-03-15 21:38:05 +00:00
Thinkofdeath
6a374be737 Fix possible tick list syncing issue 2015-03-15 21:11:15 +00:00
md_5
5750ab640a SPIGOT-693: Fix misplaced comment. 2015-03-13 17:42:06 +11:00
Thinkofdeath
7a30c3117e Don't run tasks when the server is stopping 2015-03-11 10:44:51 +00:00
Thinkofdeath
20ef9f5676 SPIGOT-677: Add populators slightly later to make sure everything is initialized 2015-03-11 10:15:39 +00:00
Thinkofdeath
5cb9b70aaa SPIGOT-665: Fix ghost blocks when cancelling piston events 2015-03-09 22:34:05 +00:00
Thinkofdeath
ad2f806097 Only double switch if the dimension is the same 2015-03-08 10:58:10 +00:00
Thinkofdeath
d03ffbf54b Readd the double dimension switch 2015-03-08 10:28:12 +00:00
Thinkofdeath
091a7212b0 SPIGOT-626: Add populators early to prevent chunks being missed 2015-03-08 10:08:19 +00:00
md_5
e802188080 SPIGOT-657: Set armor stand noclip flag in correct place. 2015-03-08 19:10:56 +11:00
Thinkofdeath
21f6ee1f62 SPIGOT-644: Attempt to fix a long standing issue by limiting the range of getEntities 2015-03-08 00:44:47 +00:00
Thinkofdeath
1e56438ac0 SPIGOT-654: Use the server player list instead of the world for boss spawn/death sounds 2015-03-07 15:02:53 +00:00
Thinkofdeath
624c97f081 Fix a null pointer issue with multiworld 2015-03-07 12:11:01 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
md_5
33d5de312e SPIGOT-602: Kick players with non-finite locations 2015-02-26 21:28:38 +11:00
Thinkofdeath
ee6d0fa938 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
2015-02-20 10:19:11 +00:00
md_5
1d63ff0d9b SPIGOT-447: Fix dismount causing a quick remount 2015-02-20 15:37:17 +11:00
md_5
b6e327256c Make tab complete spam check more lenient. 2015-02-20 15:17:45 +11:00
Thinkofdeath
3fc97ff11a Remove the double dimension switch as the issue seems fixed, if it breaks something blame SupaHam 2015-02-18 21:30:58 +00:00
Thinkofdeath
aa92a45301 Two more cases for BlockFire 2015-02-17 14:06:54 +00:00
Thinkofdeath
1af2a2283a Fix a missed case in BlockFire 2015-02-17 13:47:14 +00:00
md_5
0483f0f414 Fix incorrect import in armor stands. 2015-02-15 12:48:56 +11:00
FearThe1337
116514c162 Implement armor stand event. 2015-02-15 12:24:14 +11:00
Thinkofdeath
17a3db767a SPIGOT-557: Fix incorrect target reason for attacking an entity 2015-02-12 14:16:45 +00:00
Thinkofdeath
daa0ce3d65 SPIGOT-540: Fix an issue when mob effects were added during an event caused by a mob effect 2015-02-12 14:00:40 +00:00
Suddenly
2c31a4b409 If an enchanting table was force opened, default the world to the player's world for checks when dropping items. Fixes SPIGOT-408 2015-02-07 10:56:00 +00:00
Thinkofdeath
f25cb6d94b Fix the server stopping multiple times on shutdown 2015-02-07 10:39:18 +00:00
Thinkofdeath
b70ebbc9cf SPIGOT-536: Delay physics updates for tall plants until both parts are set 2015-02-07 10:08:55 +00:00
md_5
9ae33818af Fix SPIGOT-528: Incorrect owner for merchant inventories. 2015-02-06 20:42:21 +11:00
Thinkofdeath
0cf233dd6d SPIGOT-527: Improve vanilla's ping handling 2015-02-05 19:04:03 +00:00
Thinkofdeath
43207df1df Fix some null pointer issues in ThreadPlayerLookupUUID 2015-02-05 10:01:47 +00:00
Thinkofdeath
7bdb8f9f21 Handle new players correctly 2015-02-04 20:33:06 +00:00
Thinkofdeath
bdd52c9892 Improve vanilla's rename detection by using bukkit's lastKnownName nbt tag 2015-02-04 19:29:07 +00:00
Thinkofdeath
f98775c939 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
2015-02-03 23:38:21 +00:00
Thinkofdeath
2f50138ba3 Fix BlockIgniteEvent and BlockSpreadEvent being called with the wrong locations
in some cases
2015-02-03 17:46:30 +00:00
Thinkofdeath
2173630846 SPIGOT-512: Fix SmallFireballs ignoring isIncendiary 2015-02-02 22:01:05 +00:00
Thinkofdeath
386dc55b83 SPIGOT-465: Allow cancelling BlockPlaceEvent to preven wither spawns 2015-02-02 21:55:33 +00:00
Thinkofdeath
d3d1361042 Fix exceptions from tasks being ignored 2015-02-02 20:53:21 +00:00
Thinkofdeath
4c6df1b96b Fix a null pointer in ShapeDetectorBlock 2015-02-02 20:27:12 +00:00
md_5
bbf72f3060 SPIGOT-508: Set noclip flag when changing armor stand gravity 2015-02-01 18:12:55 +11:00
md_5
a956d73f10 SPIGOT-506: Falling blocks are special too 2015-02-01 16:13:24 +11:00
Thinkofdeath
e87122e110 Fix client chunk leak when preforming large block/chunk updates 2015-01-30 23:33:58 +00:00
md_5
5c49acdcc9 SPIGOT-458: Events / game rules shouldn't affect fall damage onto soil. 2015-01-31 10:14:29 +11:00
md_5
bae259e302 SPIGOT-240: Fire physics events for crops dying. 2015-01-31 10:09:45 +11:00
md_5
bc03b6f017 SPIGOT-485: Special case TnT in explosions.
I tested this in the original commit, maybe IDE didn't recompile properly.
2015-01-28 08:51:25 +11:00
Thinkofdeath
15e81cf551 SPIGOT-449: Fix the wrong caller being used in chain execute commands 2015-01-25 15:17:48 +00:00
md_5
c8f17232cf SPIGOT-161: Don't apply velocity changes if we didn't damage on explosion. 2015-01-25 10:45:02 +11:00
md_5
ec4ddfb22e SPIGOT-468: Treat wither skulls as projectiles with a shooter for damage purposes. 2015-01-25 10:20:00 +11:00
Zach Brown
e08f5e3d35 SPIGOT-451: Fix bad entities crashing servers when spawned via MobSpawner 2015-01-25 10:03:24 +11:00
Thinkofdeath
1092acbddf Rework piston events to only fire a retract event for sticky pistons 2015-01-19 23:28:55 +00:00
md_5
8047b0a131 SPIGOT-429: Use correct block for checking Block.b (canReplace) 2015-01-16 17:56:09 +11:00
md_5
faa27ed298 SPIGOT-418: Ensure vehicle events are fired. 2015-01-16 14:48:42 +11:00
md_5
93e7b199bd Fix the CraftWorld weather methods duplicating events. 2015-01-13 20:40:23 +11:00
Thinkofdeath
1a84bacbdd Fix null pointer in ChatBaseComponent's hashCode method 2015-01-11 18:46:09 +00:00
md_5
4470462a54 SPIGOT-387: Remove redundant custom vehicle handling. 2015-01-09 16:59:40 +11:00
Thinkofdeath
a1ce1647ae Fix mistake in vine growth 2015-01-06 23:54:15 +00:00
md_5
7bd9a5a243 SPIGOT-321: Fire damage event for EntityItem. 2015-01-07 09:58:56 +11:00
Thinkofdeath
0c47611409 SPIGOT-362: Specify a teleport cause for specatator teleports 2015-01-06 20:21:14 +00:00
Thinkofdeath
6ac32df219 Redirect execute through our command system and allow entities to be CommandSenders 2015-01-04 23:26:02 +00:00
md_5
922e0a1a7f SPIGOT-341: Backport ender pearl spawning fix from 1.8.1 2015-01-05 10:11:50 +11:00