Archiviert
13
0
Commit graph

921 Commits

Autor SHA1 Nachricht Datum
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
md_5
07fcb493a9 Rewrite storm / thunder event handling to catch all cases. Fixes SPIGOT-335. 2015-01-05 09:50:48 +11:00
Thinkofdeath
c13376df5d SPIGOT-178: Treat ItemStacks of 0 size as empty 2015-01-04 22:06:29 +00:00
Thinkofdeath
c051558691 SPIGOT-296: Fix stack overflow when a dispense event is set to bonemeal 2015-01-04 20:42:31 +00:00
Thinkofdeath
d4eaf226f9 SPIGOT-270: Fire inventory events for spectator mode (but cancelled) 2015-01-04 20:23:54 +00:00
Thinkofdeath
c4fd085432 Fix kick messages being lost 2015-01-04 20:12:02 +00:00
Thinkofdeath
a28895313c SPIGOT-217: Fix VehicleBlockCollisionEvent having the wrong block location 2015-01-04 20:00:42 +00:00
Thinkofdeath
ff66a9a65c SPIGOT-354: Fix the version being incorrect for level.dat 2015-01-04 19:54:51 +00:00
Thinkofdeath
850a9e0772 Correctly close chests cancelled for cancelled inventory open events 2014-12-28 16:05:42 +00:00
Thinkofdeath
0a0d3aa5a7 SPIGOT-287: Fire a cancelled inventory open event for locked chests 2014-12-28 15:14:53 +00:00
Thinkofdeath
2d5a55b369 SPIGOT-307: Fix inverted logic in WorldServer.sendParticles 2014-12-28 14:56:18 +00:00
Thinkofdeath
bd703b831c SPIGOT-303: Fix NPE in ChatModifier 2014-12-27 19:29:22 +00:00
Thinkofdeath
c806831619 Apply permission checks to command block executed vanilla commands 2014-12-27 14:58:47 +00:00
Thinkofdeath
e1c64bf0eb Make the effect filter stricter 2014-12-27 14:48:38 +00:00
Thinkofdeath
c2c8dda565 .-. 2014-12-27 14:24:17 +00:00
Thinkofdeath
c76552e4a5 Fix crashes when beacons have invalid effects 2014-12-27 14:03:18 +00:00
Thinkofdeath
89ebcc2143 Fix CLOSEST_PLAYER being used for all entities 2014-12-27 12:18:31 +00:00
Thinkofdeath
4cd8023852 SPIGOT-276: Force load chunks in Location2D fixes /spreadplayers 2014-12-26 21:29:47 +00:00
FearThe137
2db3ea29a6 Implement Rabbit types. 2014-12-24 09:11:25 +11:00
Thinkofdeath
81ab957aa5 Update the command blacklist to handle the prefixed versions 2014-12-23 01:00:17 +00:00
Thinkofdeath
dbdf6cacbf Only allow command blocks to be placed by op'd players 2014-12-21 19:04:01 +00:00
FearThe1337
b6634d7409 SPIGOT-241 - Fix the duplication glitch of Leads (Vanilla bug).
Glitch is caused because entities drop their leads when they are dead and still leashed and when they can't find their owner (Or the distance is too large).
We need to make sure the entity we set to be dead, loses its leash before the next tick, else there will be two dropped leads.
2014-12-21 17:36:23 +00:00
Thinkofdeath
2681166072 Remove the delayed tile entity removal, fixes issues with recursive removal of comparators 2014-12-21 17:32:35 +00:00
FearThe1337
5ae6f9935c Spigot-149 - Save map in primary world. 2014-12-17 16:23:36 +01:00
Stefan
e1070b9fbb SPIGOT-206 Further checks and fixes for Hanging entities.
Adds an check for existing entities before selecting the location allowing
for hanging entities to be spawned in blocks where there already is an
hanging entity at the default rotation.
Fixes the CraftHanging setRotation function to use the new 1.8 logic.
2014-12-15 14:42:00 +00:00
Thinkofdeath
4207eeffe0 SPIGOT-212: Modify the vanilla change gamemode method to call our version 2014-12-15 14:14:59 +00:00
DemonWav
55e592e542 Don't decrement ItemStack when CreatureSpawnEvent is canceled - addresses SPIGOT-87 2014-12-15 13:54:01 +00:00
Suddenly
b9c3e3e8f0 Swap out always-OP vanilla system for Bukkit OP checking in command blocks 2014-12-15 10:04:42 +00:00
Thinkofdeath
9f422c3424 SPIGOT-211: Fix mistake in EntityHuman breaking bed spawns 2014-12-13 22:35:37 +00:00
Thinkofdeath
354449ae9a Support vanilla's direction tag for fireballs 2014-12-13 12:34:12 +00:00
Thinkofdeath
d5ede3bd6d Rework the vanilla link fix so that hover/click events aren't lost 2014-12-13 10:27:26 +00:00
Thinkofdeath
5f2a9eadde SPIGOT-199: Default to white instead of black for chat messages 2014-12-13 09:37:47 +00:00
md_5
e8efbb8a87 Handle cross dimensional teleports and events. 2014-12-13 09:54:59 +11:00
Thinkofdeath
95169d4765 Use CraftChatMessage.fromComponent so that colors remain in sent messages 2014-12-12 21:46:12 +00:00
Thinkofdeath
64157d1de5 SPIGOT-189: Remove ListenerWrapper in favour of just doing it in EntityPlayer 2014-12-12 19:27:37 +00:00
md_5
7017af7e6d [Vanilla Fix] Process links in broadcasted messages. 2014-12-12 18:20:42 +11:00
Fabian Faßbender
9d43c91ceb Default to Y=1 when a Y=0 BlockPosition is found to be used in the BiomeDecorator. This prevents the "n must be positive" Crash due to the fact that sometimes the heightMap can be wrong calculated. Fixes SPIGOT-91 2014-12-12 13:14:35 +11:00
md_5
1f8414b489 Rebuilt patches 2014-12-12 11:05:04 +11:00
FearThe1337
45cd36e553 Fix a client crash issue involving maps. 2014-12-12 11:03:52 +11:00
md_5
9fa497cd55 Add implementation of the elder Guardian API 2014-12-12 10:57:00 +11:00
Thinkofdeath
b13fd35165 Re-enable selectors for players and the console using vanilla commands 2014-12-11 20:05:48 +00:00
Thinkofdeath
fe41b017ca Fixed mis-placed CraftBukkit comments 2014-12-11 00:44:30 +00:00
Thinkofdeath
14d69f1513 Remove old dev comments 2014-12-11 00:40:25 +00:00
Thinkofdeath
d5c9a3c990 SPIGOT-179: Fix the age counter not being reset for cacti and reeds 2014-12-11 00:13:27 +00:00
Thinkofdeath
f48410a39c Fix per a world world borders
Well... mostly anyway
2014-12-10 19:17:17 +00:00
FearThe1337
e24569a9ed SPIGOT-143: Fix various animal stuff not being canceled by damageEntity.
Fixes wolves and ocelots standing up when the damag event is being canceled.
Also stops breeding mode reset by the same event.
2014-12-10 18:35:55 +00:00
Thinkofdeath
0af8ea10d8 Fix another missed scoreboard rename 2014-12-10 17:04:45 +00:00
Thinkofdeath
611ebfa752 Merge pull request #42 in SPIGOT/craftbukkit from ~CYBERTIGER/craftbukkit:save-gamerules to master
* commit '88366173d8281e8a7c6f6464f5784cdfdf87ee2b':
  SPIGOT-169: Save level.dat for non-primary worlds.
2014-12-10 17:48:26 +01:00
Antony Riley
88366173d8 SPIGOT-169: Save level.dat for non-primary worlds. 2014-12-10 18:45:44 +02:00
Thinkofdeath
85e9ba780f SPIGOT-173: Fix missed renames in EntityHuman 2014-12-10 16:27:56 +00:00
Thinkofdeath
3433eeadc2 Fix /gamerule always targeting the main world 2014-12-10 16:23:18 +00:00
md_5
262c7779fe Fix crash with null thorns damager 2014-12-10 15:57:27 +11:00
Thinkofdeath
b73cfb0f6a Remove CommandWorldBorder patch as this is handled in the command wrapper 2014-12-09 21:39:31 +00:00
Thinkofdeath
917e46a8d3 Make sure to catch extra interact packets from the client 2014-12-09 12:20:44 +00:00
Thinkofdeath
cf5a502fd4 SPIGOT-162: Fix cancelling RIGHT_CLICK_BLOCK not cancelling used items 2014-12-09 09:38:52 +00:00
Thinkofdeath
7bb3034c78 Clone the vector that is passed to the VelocityEvent 2014-12-07 11:26:58 +00:00
Thinkofdeath
d417466842 Merge pull request #35 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-128 to master
* commit '0655dfe98b13ae889048acbcfa7a34fdc8886187':
  Fire the VelocityEvent when an EntityHuman got attacked. Fixes SPIGOT-128
2014-12-07 12:22:49 +01:00
Thinkofdeath
c7278edcfb Merge pull request #34 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-135 to master
* commit '86eaec03f1a339fe282f16b83e6041796c722875':
  Add missing DispenseBehavior for Fireworks. Fixes SPIGOT-135
2014-12-07 12:20:52 +01:00
Thinkofdeath
7711956f44 Filter extra right click air interaction events 2014-12-07 11:04:22 +00:00
Thinkofdeath
fbda3a7c99 Fix worldborders showing from the wrong world 2014-12-06 22:26:49 +00:00
Fabian Faßbender
0655dfe98b Fire the VelocityEvent when an EntityHuman got attacked. Fixes SPIGOT-128 2014-12-06 22:27:04 +01:00
Fabian Faßbender
86eaec03f1 Add missing DispenseBehavior for Fireworks. Fixes SPIGOT-135 2014-12-06 22:13:04 +01:00
Thinkofdeath
c4129c259b Disconnect old players before firing PlayerLoginEvent and fire a
PlayerQuitEvent straight after a PlayerKickEvent
2014-12-06 20:53:57 +00:00
Thinkofdeath
d04430e09b SPIGOT-80: Fix players being invisible after teleporting 2014-12-06 20:17:47 +00:00
Thinkofdeath
a7287cb4c6 Force the player to be saved when disconnecting duplicates
Allows the current player to grab the updated file
2014-12-06 11:16:18 +00:00
Thinkofdeath
adc129ab3d Readd missed diff in EntityEnderCrystal 2014-12-05 23:42:08 +00:00
Thinkofdeath
cc2b09de09 Add basic support for executing commands from signs
TODO: Wrap the player in to allow for plugins to handle it better
2014-12-05 23:10:47 +00:00
Thinkofdeath
0d4fba2c14 SPIGOT-117: Fix sticky pistons firing for the wrong direction when pulling blocks backwards 2014-12-05 15:11:22 +00:00
Thinkofdeath
3f6a1db4f6 SPIGOT-123: Force inventory updates on crafting to correctly support custom recipes 2014-12-05 15:04:01 +00:00
Thinkofdeath
bab0e8bc70 Fix the chunks being blocked from unloading based on the keepSpawnInMemory flag 2014-12-05 11:17:47 +00:00
Aikar
64492523a7 Move WorldSaveEvent to proper location
calling CraftWorld.save() currently does not call WorldSaveEvent, and WorldSaveEvent could fire on worlds that have saving disabled.

New location will always fire during a world save and only during an actual save.
2014-12-03 14:35:33 -05:00
Thinkofdeath
8110f51b50 Minor formatting fixes 2014-12-03 11:08:35 +00:00
Thinkofdeath
df0b4c1ca4 Fix spawn reason for mob eggs 2014-12-03 10:52:18 +00:00
Thinkofdeath
37102a0c16 SPIGOT-102: Fix the player being teleported up 1.62 blocks on cancelling the PlayerMoveEvent 2014-12-02 20:39:30 +00:00
Thinkofdeath
2422099346 Fix selectors in non-bukkit commands for command blocks 2014-12-02 20:24:03 +00:00
Thinkofdeath
3c4a02ed33 Filter invalid bounding boxes for entities
This should prevent issues caused by broken horses
2014-12-02 17:53:34 +00:00
Thinkofdeath
0429c76df6 Fix a missed case for weather transitions on join 2014-12-02 16:38:16 +00:00
Thinkofdeath
b6cff41473 SPIGOT-96/BUKKIT-5016: Fix thunder storms not darkening the sky and transitions being broken. 2014-12-02 15:14:17 +00:00
Thinkofdeath
d2c2630307 SPIGOT-85: Fix NPE in monster spawners when right-clicked with invalid spawn eggs 2014-12-01 10:08:17 +00:00
Fabian Faßbender
ebec73b5a9 Another attempt of fixing OOB Horses. Just remove them from the world instead of setting it dead. 2014-11-30 19:02:56 +01:00
Thinkofdeath
cab7c772df Add missing CB comment 2014-11-30 16:35:44 +00:00
Thinkofdeath
c81db390ac Force chunk loading in EntityHuman.getBed, Fixes SPIGOT-64 2014-11-30 16:33:45 +00:00
Fabian Faßbender
cc0d8bb327 Update the correct Scoreboard Criteria when a health change comes in. This fixes SPIGOT-20 2014-11-30 13:34:38 +01:00
Thinkofdeath
7c0f352486 Fix LEFT_CLICK_AIR 2014-11-30 12:10:30 +00:00
Thinkofdeath
c8adfecee3 Add a flag to correctly convert signs to 1.8 2014-11-30 11:23:45 +00:00
Fabian Faßbender
c8a76994dc Horses spawned under Y 0 cause CraftBukkit to crash. This happens a lot since people keep using bugged Horses for Holographics
Remove out of bounds horses, fixes an vanilla bug. Fixes SPIGOT-58
2014-11-30 01:03:59 +01:00
Thinkofdeath
cef65526d4 Optimize the invalid block fixing 2014-11-29 23:25:17 +00:00
Thinkofdeath
0f552845d0 Treat LeavesDecayEvent as canceled if a plugin changes the block 2014-11-29 22:31:55 +00:00
Thinkofdeath
9255e9d82c Fix canceling BlockPlaceEvent 2014-11-29 21:17:57 +00:00
Thinkofdeath
bf401fbbde Remove old debug info 2014-11-29 21:09:04 +00:00
Thinkofdeath
89f59f9e4d Merge pull request #8 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-46 to master
* commit '1e8a3f192f78aebad26c3ed9dcdd27d61d51e130':
  Corrected WorldData patch file
  Rewrite the level.dat properly. This fixes SPIGOT-46
2014-11-29 22:14:27 +02:00
Thinkofdeath
dd096a5255 Improve the invalid block handling 2014-11-29 20:00:52 +00:00
Fabian Faßbender
1e8a3f192f Corrected WorldData patch file 2014-11-29 20:36:57 +01:00
Fabian Faßbender
b08f233fe1 Rewrite the level.dat properly. This fixes SPIGOT-46 2014-11-29 20:33:33 +01:00
Fabian Faßbender
4d0f5edb05 Just only hold the last BlockState update for the same location. This fixes SPIGOT-44 2014-11-29 19:08:50 +01:00
Thinkofdeath
fdfadd23d0 Fix a vanilla issue which causes invalid data values on blocks to turn to air
Worlds already loaded in 1.8 can still be saved by this but tile entities will
be lost
2014-11-29 17:31:40 +00:00
Thinkofdeath
939f76458e Fire EntityDamageEvent for armor stands
Somewhat of a lazy way of doing it but it will do for now
2014-11-29 16:05:55 +00:00
Fabian Faßbender
a2c4d7e150 Minecraft by default only uses the World at index 0 for the WorldBorder command. This fixes SPIGOT-12 2014-11-29 10:57:22 +00:00
Thinkofdeath
8c3698bf0f Fix command blocks 2014-11-29 00:53:49 +00:00
Thinkofdeath
69e66a69c4 Don't default the universe to the current directory 2014-11-28 23:53:11 +00:00
Thinkofdeath
40d6bb2dc2 Re-add the timestamp for spigot 2014-11-28 23:27:09 +00:00
Thinkofdeath
e795876491 Fix interaction issues 2014-11-28 23:07:00 +00:00
Thinkofdeath
90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00
GunfighterJ
d6e3dff7d8 Remove patch headers 2014-11-28 16:54:14 -06:00
Thinkofdeath
b84c71e522 Fix enchanting to match 1.8 behaviour 2014-11-28 22:39:33 +00:00
Thinkofdeath
c5d0d74eae Improve vanilla command handling for command blocks 2014-11-28 20:20:03 +00:00
Thinkofdeath
2abdb9a061 Use the right name for the AsyncPlayerPreLoginEvent 2014-11-28 17:43:48 +00:00
Thinkofdeath
669c44cb3c Fix eating food whilst not facing a block 2014-11-28 11:23:19 +00:00
Thinkofdeath
24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00