Commit graph

2990 commits

Author SHA1 Message Date
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
a6465002bf Add some missing Tile Entities 2014-12-07 13:38:16 +00:00
Thinkofdeath
44ea9d88c2 Add CraftMetaTileEntity, fixes the previously broken tests 2014-12-07 13:22:56 +00:00
Thinkofdeath
fb445e5337 Minor bug fixes 2014-12-07 12:18:50 +00:00
Thinkofdeath
c571bbe590 Disable some tests whilst issues with them are looked into 2014-12-07 11:50:45 +00:00
Thinkofdeath
6880e5277f Fix isEmpty and hashCode for CraftMetaItem 2014-12-07 11:42:37 +00:00
Thinkofdeath
6268eb5a3e Fix BlockEntityTag being stripped from items 2014-12-07 11:36:31 +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
1227934d57 Make CraftMetaItem's attribute handling less strict on types 2014-12-07 10:48:14 +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
e6809b3b9b Remove quotes from version hash by updating the gitdescribe version 2014-12-05 21:33:57 +00:00
Thinkofdeath
91ee2c2365 Merge pull request #30 in SPIGOT/craftbukkit from ~ZREED/craftbukkit:master to master
* commit '9e04f2f765194c087b52c3707a482ed9d5e56c8d':
  Use PlayerList's UUID->EntityPlayer map in CraftServer.getPlayer(UUID)
2014-12-05 18:22:38 +01: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
zreed
9e04f2f765 Use PlayerList's UUID->EntityPlayer map in CraftServer.getPlayer(UUID) 2014-12-05 02:03:49 -05:00
Thinkofdeath
e2c4f20ed1 Serialize baseColor as a string 2014-12-04 10:10:24 +00:00
Aikar
8a8312fb92 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.
2014-12-03 14:46:14 -05:00
Thinkofdeath
2ba7357b4a Merge pull request #27 in SPIGOT/craftbukkit from ~AIKAR/craftbukkit:fixWorldSaveEvent to master
* commit '64492523a761fb37d2b73f4aad8b8041f7a30d83':
  Move WorldSaveEvent to proper location
2014-12-03 20:37:32 +01: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
200ae2b6ac Fix a issue with skulls that have a blank owner 2014-12-03 19:04:19 +00:00
Thinkofdeath
4c02ffcaf3 Merge pull request #5 in SPIGOT/craftbukkit from ~DMCK2B/craftbukkit:feature/implementDepthStrider to master
* commit 'cce45591f624c915e87ce132b508adf8e0d7961b':
  Implement the Depth Strider enchantment for the API
2014-12-03 17:41:27 +01:00
Fabian Faßbender
497a7b4cfb Add ANVIL and BEACON custom inventories. Also handle a few special cases for inventory sizes 2014-12-03 16:20:55 +00: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
a972ddfc74 Missed a case 2014-12-02 23:57:29 +00:00
Thinkofdeath
1613d09138 Don't wrap the y coordinate in World.getBlockAt 2014-12-02 23:54:38 +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
2b61a04e36 Merge pull request #22 in SPIGOT/craftbukkit from ~FEARTHE1337/craftbukkit:fixCraftMetaBanner to master
* commit '351edbf4e5dc679dfe65258c6919e9a2a75f7ae8':
  Fix CraftMetaBanner serialization.
2014-12-02 16:47:25 +01: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
BuildTools
351edbf4e5 Fix CraftMetaBanner serialization. 2014-12-02 15:29:04 +01:00
Thinkofdeath
275603d37a Merge pull request #21 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-93 to master
* commit '7371301edb1c44ab9153e1fba3722ba2f4e3c411':
  Forgot that i work in Bukkit... Screw sun conventions
  Implementation for the new rotation values. Fixes SPIGOT-93
2014-12-02 13:23:46 +01:00