Commit Graph

1393 Commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
c9b7b858a2 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

By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-30 00:53:25 +01:00
CraftBukkit/Spigot
85573908bc Optimize the invalid block fixing
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 23:25:17 +00:00
CraftBukkit/Spigot
f7acac0d40 Treat LeavesDecayEvent as canceled if a plugin changes the block
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 22:31:55 +00:00
CraftBukkit/Spigot
5a1e8c93bd Fix canceling BlockPlaceEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 21:17:57 +00:00
CraftBukkit/Spigot
341e9794bc Remove old debug info
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 21:09:04 +00:00
CraftBukkit/Spigot
beb559e351 Merge pull request #8 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-46 to master
* commit 'bfac8ebeea3871337381be31c91183c4025174a9':
  Corrected WorldData patch file
  Rewrite the level.dat properly. This fixes SPIGOT-46

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 22:14:27 +02:00
CraftBukkit/Spigot
63af42bb1e Improve the invalid block handling
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 20:00:52 +00:00
CraftBukkit/Spigot
bfac8ebeea Corrected WorldData patch file
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-29 20:36:57 +01:00
CraftBukkit/Spigot
4e7ba83133 Rewrite the level.dat properly. This fixes SPIGOT-46
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-29 20:33:33 +01:00
CraftBukkit/Spigot
be1b43c2bb Just only hold the last BlockState update for the same location. This fixes SPIGOT-44
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-29 19:08:50 +01:00
CraftBukkit/Spigot
f973c68364 Merge pull request #6 in SPIGOT/craftbukkit from ~MIKEPRIMM/craftbukkit:mikeprimm/SPIGOT-30 to master
* commit 'ddd63044a642a7794f92650a4e3b96f10bc29b9f':
  SPIGOT-30: Fix restoring of WorldData when loading worlds

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 19:51:05 +02:00
CraftBukkit/Spigot
739bc35bde 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

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 17:31:40 +00:00
CraftBukkit/Spigot
3bcc7b2868 Fire EntityDamageEvent for armor stands
Somewhat of a lazy way of doing it but it will do for now

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 16:05:55 +00:00
CraftBukkit/Spigot
ddd63044a6 SPIGOT-30: Fix restoring of WorldData when loading worlds
By: Mike Primm <mike@primmhome.com>
2014-11-29 09:34:54 -06:00
CraftBukkit/Spigot
3d5cd0953f Ignore invalid blocks in ChunkSnapshots
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 15:05:28 +00:00
CraftBukkit/Spigot
6c7602a196 Minecraft by default only uses the World at index 0 for the WorldBorder command. This fixes SPIGOT-12
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-29 00:38:21 +01:00
CraftBukkit/Spigot
827be39e55 Merge pull request #4 in SPIGOT/craftbukkit from ~MIKEPRIMM/craftbukkit:mikeprimm/SPIGOT-29 to master
* commit 'b6f610a49b4c2250e354c986175bee667453d53f':
  Fix chunk snapshot generation (needed for Dynmap)

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 12:41:51 +02:00
CraftBukkit/Spigot
0b357769b5 Fix command blocks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 00:53:49 +00:00
CraftBukkit/Spigot
b6f610a49b Fix chunk snapshot generation (needed for Dynmap)
By: Mike Primm <mike@primmhome.com>
2014-11-28 18:30:59 -06:00
CraftBukkit/Spigot
a134a4961c Fix setAge and related methods
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 00:17:45 +00:00
CraftBukkit/Spigot
9c86c4b3ce Fix missed case in CraftBlock
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 00:14:46 +00:00
CraftBukkit/Spigot
e77d43237c Don't default the universe to the current directory
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 23:51:17 +00:00
CraftBukkit/Spigot
37e391acec Re-add the timestamp for spigot
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 23:27:09 +00:00
CraftBukkit/Spigot
28d71d3018 Fix interaction issues
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 23:06:03 +00:00
CraftBukkit/Spigot
704348fb3f Don't commit unchanged patches
By: GunfighterJ <joseph.jenniges@gmail.com>
2014-11-28 17:06:11 -06:00
CraftBukkit/Spigot
6956c3298f Revert "Remove patch headers"
This reverts commit a8ddf37419.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 23:02:15 +00:00
CraftBukkit/Spigot
a8ddf37419 Remove patch headers
By: GunfighterJ <joseph.jenniges@gmail.com>
2014-11-28 16:54:14 -06:00
CraftBukkit/Spigot
331e10d536 Fix enchanting to match 1.8 behaviour
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 22:39:33 +00:00
CraftBukkit/Spigot
930cad64fa Improve vanilla command handling for command blocks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 20:20:03 +00:00
CraftBukkit/Spigot
520089d10e Remove extra color codes at the start from converted json chat
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 19:59:41 +00:00
CraftBukkit/Spigot
85c2090056 Only rebuild patches that are changed
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 18:26:30 +00:00
CraftBukkit/Spigot
ba8312ff89 Use the right name for the AsyncPlayerPreLoginEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 17:43:48 +00:00
CraftBukkit/Spigot
2443e912f8 Fix eating food whilst not facing a block
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 11:23:19 +00:00
CraftBukkit/Spigot
a419776f3c Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-26 08:32:16 +11:00
CraftBukkit/Spigot
2f44d66966 Allow teleportation of entities on vehicles. Fixes BUKKIT-4210
Up until Minecraft version 1.5 it was not possible to teleport entities
within vehicles. With the 1.5 update came the change in the Minecraft
teleportation logic to dismount before teleporting the entity, if
applicable.

This commit ammends the existing CraftBukkit logic for rejecting
teleportation for entities in vehicles to permit the action. Due to this
change, CraftBukkit is now in-line with Minecraft 1.5 teleportation logic.

By: bendude56 <bendude56@gmail.com>
2013-07-07 21:52:41 -06:00
CraftBukkit/Spigot
02fb3fd3d7 Implement ability to keep items on death via plugins. Adds BUKKIT-5724
When a player dies their inventory is normally scattered over the the area
in which they died. Plugins should be able to modify this behaviour by
defining whether or not the player's inventory will be dropped on the ground or waiting for the player when they eventually respawn.

This commit implements the methods included in the Bukkit half for the new
behaviour by acting upon the boolean flag. The boolean flag is tested
prior to clearing the inventory as well as prior to dropping the items on
the ground. If the flag is true (indicating "keep inventory"), the items
are not removed from the player's inventory and are not dropped on the
ground.

By: Jerom van der Sar <jerom.sar@hotmail.com>
2014-07-31 03:05:08 +02:00
CraftBukkit/Spigot
5d8e9e97fd Implement deprecated methods. Adds BUKKIT-5752
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-08-07 19:35:16 -05:00
CraftBukkit/Spigot
82a651c889 Use sensible AssertionError instead of ambiguous RuntimeException
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-08-07 19:29:28 -05:00
CraftBukkit/Spigot
9bf675b0b6 Fix removal of items from Item Frames. Fixes BUKKIT-5736
By: feildmaster <admin@feildmaster.com>
2014-08-02 16:03:50 -05:00
CraftBukkit/Spigot
38f3f4a701 Provide modifier functions to EntityDamageEvent. Fixes BUKKIT-5688
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-07-13 00:04:32 -05:00
CraftBukkit/Spigot
dfb55a6fe4 Put damage modifiers in Functions for event. Fixes BUKKIT-5681
By: Travis Watkins <amaranth@ubuntu.com>
2014-07-09 16:21:06 -05:00