Commit graph

1487 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
db831ecc70 Implementation for the new rotation values. Fixes SPIGOT-93
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-02 00:13:25 +01:00
CraftBukkit/Spigot
4955ab3981 SPIGOT-85: Fix NPE in monster spawners when right-clicked with invalid spawn eggs
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-01 10:08:17 +00:00
CraftBukkit/Spigot
8695ded7c9 Merge pull request #16 in SPIGOT/craftbukkit from ~AET2505/craftbukkit:fix/ShowPlayer to master
* commit '91c612a01239d68643fcedcf5c6cd2fb5df2100f':
  Fix show player

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-01 00:02:43 +02:00
CraftBukkit/Spigot
91c612a012 Fix show player
By: Adam Thomas <aet2505@gmail.com>
2014-11-30 20:12:54 +00:00
CraftBukkit/Spigot
3527978453 Merge pull request #15 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/oob-horses to master
* commit 'e34474ce6a1c1ac528b0931bc373284db1867209':
  Another attempt of fixing OOB Horses. Just remove them from the world instead of setting it dead.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 21:23:01 +02:00
CraftBukkit/Spigot
e34474ce6a Another attempt of fixing OOB Horses. Just remove them from the world instead of setting it dead.
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-30 19:02:56 +01:00
CraftBukkit/Spigot
939819ae90 Add missing CB comment
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 16:35:44 +00:00
CraftBukkit/Spigot
71ba3c651a Force chunk loading in EntityHuman.getBed, Fixes SPIGOT-64
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 16:33:02 +00:00
CraftBukkit/Spigot
fa41053bdd Merge pull request #13 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-20 to master
* commit '6fe435983b69ba2afbb77fd708e2988e6e3e778a':
  Update the correct Scoreboard Criteria when a health change comes in. This fixes SPIGOT-20

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 17:10:32 +02:00
CraftBukkit/Spigot
96856d7380 Add a somewhat hacky fix for plugins converting between book types
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 15:06:14 +00:00
CraftBukkit/Spigot
6fe435983b Update the correct Scoreboard Criteria when a health change comes in. This fixes SPIGOT-20
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-30 13:34:38 +01:00
CraftBukkit/Spigot
56cceb9b4e Fix Chunk.getTileEntities() (Fixes SPIGOT-62)
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 12:15:56 +00:00
CraftBukkit/Spigot
9e7e5be4de Fix LEFT_CLICK_AIR
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 12:10:30 +00:00
CraftBukkit/Spigot
15cc288f9a Add a flag to correctly convert signs to 1.8
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 11:23:45 +00:00
CraftBukkit/Spigot
a621457aeb Correct the return value of getPlayerListName
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 10:30:32 +00:00