Commit graph

1461 commits

Author SHA1 Message Date
CraftBukkit/Spigot
7d1aaec723 Rewrite book handling, Fixes SPIGOT-182 and part of SPIGOT-164
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 19:38:09 +00:00
CraftBukkit/Spigot
102d551006 Fixed mis-placed CraftBukkit comments
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 00:44:30 +00:00
CraftBukkit/Spigot
2685b6f8ff Remove old dev comments
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 00:40:25 +00:00
CraftBukkit/Spigot
755a5a33a8 SPIGOT-179: Fix the age counter not being reset for cacti and reeds
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 00:13:27 +00:00
CraftBukkit/Spigot
4ff244c7c3 Fix per a world world borders
Well... mostly anyway

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 19:16:37 +00:00
CraftBukkit/Spigot
401aa37842 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.

By: FearThe1337 <admin@fearthe1337.com>
2014-12-09 15:40:38 +01:00
CraftBukkit/Spigot
1aa3edf985 Fix another missed scoreboard rename
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 17:04:45 +00:00
CraftBukkit/Spigot
9221e55ec6 Merge pull request #26 in SPIGOT/craftbukkit from ~AIKAR/craftbukkit:applyPatches to master
* commit '7fb737c0e7a10ca6612849194c2fae50af291727':
  Improve patch scripts, add applyPatches.sh

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 17:57:01 +01:00
CraftBukkit/Spigot
d31cca27ae Merge pull request #42 in SPIGOT/craftbukkit from ~CYBERTIGER/craftbukkit:save-gamerules to master
* commit 'd5674b66a65574239efb9cedcd7314674beff137':
  SPIGOT-169: Save level.dat for non-primary worlds.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 17:48:26 +01:00
CraftBukkit/Spigot
d5674b66a6 SPIGOT-169: Save level.dat for non-primary worlds.
By: Antony Riley <antony@cyberiantiger.org>
2014-12-10 18:45:44 +02:00
CraftBukkit/Spigot
5b8ab1769a SPIGOT-173: Fix missed renames in EntityHuman
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 16:27:56 +00:00
CraftBukkit/Spigot
f2035a590a Fix /gamerule always targeting the main world
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 16:23:18 +00:00
CraftBukkit/Spigot
da9e41c84a Fix crash with null thorns damager
By: md_5 <git@md-5.net>
2014-12-10 15:57:27 +11:00
CraftBukkit/Spigot
06346a2077 Remove CommandWorldBorder patch as this is handled in the command wrapper
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-09 14:02:30 +00:00
CraftBukkit/Spigot
d41deca97c Make sure to catch extra interact packets from the client
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-09 12:20:44 +00:00
CraftBukkit/Spigot
ce79f2c97c SPIGOT-162: Fix cancelling RIGHT_CLICK_BLOCK not cancelling used items
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-09 09:38:52 +00:00
CraftBukkit/Spigot
19e7299b99 Add some missing Tile Entities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 13:38:16 +00:00
CraftBukkit/Spigot
6ee362dcff Add CraftMetaTileEntity, fixes the previously broken tests
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 13:22:56 +00:00
CraftBukkit/Spigot
9284d1c164 Minor bug fixes
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 12:18:50 +00:00
CraftBukkit/Spigot
1c82ce69db Disable some tests whilst issues with them are looked into
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:50:45 +00:00
CraftBukkit/Spigot
5af21473a1 Fix isEmpty and hashCode for CraftMetaItem
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:42:37 +00:00
CraftBukkit/Spigot
ede266a186 Fix BlockEntityTag being stripped from items
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:36:31 +00:00
CraftBukkit/Spigot
5fff5eb88c Clone the vector that is passed to the VelocityEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:26:58 +00:00
CraftBukkit/Spigot
ddbbeb2729 Merge pull request #35 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-128 to master
* commit '3d003bf9cc06d5a7b4f1748a91dbc34f8dc92019':
  Fire the VelocityEvent when an EntityHuman got attacked. Fixes SPIGOT-128

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 12:22:49 +01:00
CraftBukkit/Spigot
0251357353 Merge pull request #34 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-135 to master
* commit '762f13e20ddb8500413d5c87355e062e88126abc':
  Add missing DispenseBehavior for Fireworks. Fixes SPIGOT-135

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 12:20:52 +01:00
CraftBukkit/Spigot
4b0f451938 Filter extra right click air interaction events
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:04:22 +00:00
CraftBukkit/Spigot
0b4776d69d Make CraftMetaItem's attribute handling less strict on types
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 10:48:14 +00:00
CraftBukkit/Spigot
f981b74e45 Fix worldborders showing from the wrong world
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-06 22:26:49 +00:00
CraftBukkit/Spigot
3d003bf9cc Fire the VelocityEvent when an EntityHuman got attacked. Fixes SPIGOT-128
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-06 22:27:04 +01:00
CraftBukkit/Spigot
762f13e20d Add missing DispenseBehavior for Fireworks. Fixes SPIGOT-135
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-06 22:13:04 +01:00
CraftBukkit/Spigot
5172dd7274 Disconnect old players before firing PlayerLoginEvent and fire a
PlayerQuitEvent straight after a PlayerKickEvent

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-06 20:53:57 +00:00
CraftBukkit/Spigot
2fc1f0435e SPIGOT-80: Fix players being invisible after teleporting
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-06 20:17:47 +00:00
CraftBukkit/Spigot
1dca486d41 Force the player to be saved when disconnecting duplicates
Allows the current player to grab the updated file

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-06 11:16:18 +00:00
CraftBukkit/Spigot
1bd6ce4972 Readd missed diff in EntityEnderCrystal
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 23:42:08 +00:00
CraftBukkit/Spigot
b8e4f690f8 Add basic support for executing commands from signs
TODO: Wrap the player in to allow for plugins to handle it better

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 23:10:47 +00:00
CraftBukkit/Spigot
af5d08b285 Remove quotes from version hash by updating the gitdescribe version
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 21:33:57 +00:00
CraftBukkit/Spigot
42cddd043c Merge pull request #30 in SPIGOT/craftbukkit from ~ZREED/craftbukkit:master to master
* commit '475a7cb5793692771e726cbd9d76ad9fc25bc3eb':
  Use PlayerList's UUID->EntityPlayer map in CraftServer.getPlayer(UUID)

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 18:22:38 +01:00
CraftBukkit/Spigot
75200edf67 SPIGOT-117: Fix sticky pistons firing for the wrong direction when pulling blocks backwards
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 15:11:22 +00:00
CraftBukkit/Spigot
aeb97516bf SPIGOT-123: Force inventory updates on crafting to correctly support custom recipes
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 15:04:01 +00:00
CraftBukkit/Spigot
db6b2cb6d5 Fix the chunks being blocked from unloading based on the keepSpawnInMemory flag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 11:17:47 +00:00
CraftBukkit/Spigot
475a7cb579 Use PlayerList's UUID->EntityPlayer map in CraftServer.getPlayer(UUID)
By: zreed <zach@digitalforgemc.com>
2014-12-05 01:44:14 -05:00
CraftBukkit/Spigot
986787060f Serialize baseColor as a string
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-04 10:10:24 +00:00
CraftBukkit/Spigot
6ab18a95eb Merge pull request #27 in SPIGOT/craftbukkit from ~AIKAR/craftbukkit:fixWorldSaveEvent to master
* commit '41eaea21ca7b66b835f7bfd21daa52ab6a84e7c5':
  Move WorldSaveEvent to proper location

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 20:37:32 +01:00
CraftBukkit/Spigot
41eaea21ca 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.

By: Aikar <aikar@aikar.co>
2014-12-03 14:35:33 -05:00
CraftBukkit/Spigot
7fb737c0e7 Improve patch scripts, add applyPatches.sh
When working on CraftBukkit, one may need to update to the latest.
Before adding new work, you would need to rebuild your patched files to latest.
Currently BuildTools does this for you, but BuildTools does not support segment based actions.

So this new script replicates the behavior of rebuilding the patched files using nms-patches.

BuildTools can then be updated to simply call this script.

Also, improved makePatches by removing dos2unix. This command does not exists on all systems,
and can very simply be replaced by sed.

Finally, hard coded path to /ls as a user may of aliased ls to default change the format, so
call it directly to ensure we get the desired behavior.

By: Aikar <aikar@aikar.co>
2014-12-03 14:19:09 -05:00
CraftBukkit/Spigot
8e686281f5 Fix a issue with skulls that have a blank owner
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 19:04:19 +00:00
CraftBukkit/Spigot
f03d75f288 Merge pull request #5 in SPIGOT/craftbukkit from ~DMCK2B/craftbukkit:feature/implementDepthStrider to master
* commit 'c42ae2c5e4320f833e2de0b0347d22fe3ae80c5e':
  Implement the Depth Strider enchantment for the API

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 17:41:27 +01:00
CraftBukkit/Spigot
975c29d381 Add ANVIL and BEACON custom inventories. Also handle a few special cases for inventory sizes
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-01 03:19:24 +01:00
CraftBukkit/Spigot
7e5da5bf6f Minor formatting fixes
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 11:08:35 +00:00
CraftBukkit/Spigot
eb81446ffc Fix spawn reason for mob eggs
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 10:52:18 +00:00