Commit graph

1552 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
22718ff198 Missed a case
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 23:57:29 +00:00
CraftBukkit/Spigot
68581f9ef5 Don't wrap the y coordinate in World.getBlockAt
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 23:54:38 +00:00
CraftBukkit/Spigot
e5627edb48 SPIGOT-102: Fix the player being teleported up 1.62 blocks on cancelling the PlayerMoveEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 20:39:30 +00:00
CraftBukkit/Spigot
1493ccc3e7 Fix selectors in non-bukkit commands for command blocks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 20:24:03 +00:00
CraftBukkit/Spigot
b6fdbaa826 Filter invalid bounding boxes for entities
This should prevent issues caused by broken horses

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 17:53:34 +00:00
CraftBukkit/Spigot
79c1790d72 Fix a missed case for weather transitions on join
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 16:38:16 +00:00
CraftBukkit/Spigot
042816193c Merge pull request #22 in SPIGOT/craftbukkit from ~FEARTHE1337/craftbukkit:fixCraftMetaBanner to master
* commit 'f75756a2e3542f67099dc24b283cc601360a87cf':
  Fix CraftMetaBanner serialization.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 16:47:25 +01:00
CraftBukkit/Spigot
10e3879b01 SPIGOT-96/BUKKIT-5016: Fix thunder storms not darkening the sky and transitions being broken.
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 15:13:07 +00:00
CraftBukkit/Spigot
f75756a2e3 Fix CraftMetaBanner serialization.
By: BuildTools <unconfigured@null.spigotmc.org>
2014-12-02 15:29:04 +01:00
CraftBukkit/Spigot
d1fd719ab3 Merge pull request #21 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-93 to master
* commit 'b534c74a2093a6bec286c9312172b904ab1743ad':
  Forgot that i work in Bukkit... Screw sun conventions
  Implementation for the new rotation values. Fixes SPIGOT-93

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 13:23:46 +01:00
CraftBukkit/Spigot
05d746d1e4 [Slightly breaking] setType(Id) will not longer reuse the previous data value
of the block and instead reset the the data value to the block's default

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 12:03:02 +00:00
CraftBukkit/Spigot
503f116feb Fix tree related crashes due to lazy BlockState updating
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 11:51:49 +00:00
CraftBukkit/Spigot
b534c74a20 Forgot that i work in Bukkit... Screw sun conventions
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-02 00:20:31 +01:00