13
0
geforkt von Mirrors/Paper
Commit graph

1380 Commits

Autor SHA1 Nachricht Datum
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
CraftBukkit/Spigot
79e5718f39 Update CraftBukkit to Minecraft 1.7.10
By: Travis Watkins <amaranth@ubuntu.com>
2014-06-26 13:05:08 -05:00
CraftBukkit/Spigot
645fe18f1f Use 4787c23dce0f5ac856d8d398225828971a93a3ff Guava patch for onlinePlayers
This change improves the quality of life for plugin developers using
iterator iteration with side-effects. In the specified Guava patch, the
internal iterator no longer relies on the AbstractList iterator which
iterates by index, and will instead wrap the provided iterator in a
transformer given the Function.

By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-07-01 00:47:39 -05:00
CraftBukkit/Spigot
03a390e010 Implement new getOnlinePlayers. Adds BUKKIt-5668
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-06-24 16:11:25 -05:00
CraftBukkit/Spigot
de522b136d [Bleeding] Ignore damage done by LivingEntity.damage(). Fixes BUKKIT-5666
This matches behavior previous to new damage event API of not throwing
events for plugin-triggered damage.

By: t00thpick1 <t00thpick1dirko@gmail.com>
2014-06-22 22:54:05 -04:00
CraftBukkit/Spigot
50c4b76dfa [Bleeding] Implement new damage api. Fixes BUKKIT-5326, BUKKIT-3878.
This commit centralizes event handling to where damage is actually applied
to the entity to avoid bugs that have resulted from nodamageticks,
modifications to damage after the event has been called, and similar
mishaps. This also implements new API for getting and setting of
modifications made to the damage amount actually applied to the entity.
This is done by storing the change in the damage amount as each modifier
is applied by vanilla code.

The method that actually damages the armor worn by an entity has been
relocated beneath the event called as to not apply durability loss when
the event has been cancelled.

By: t00thpick1 <t00thpick1dirko@gmail.com>
2014-06-19 14:38:45 -04:00
CraftBukkit/Spigot
520077f254 Avoid checking for loaded chunks for lighting and entity ticking.
When a chunk is loaded the server tries to ensure it has its initial light
calculations done before sending it to the player. When ticking entities
the server tries to ensure the entity does not walk into an unloaded chunk.
To accomplish these the server checks a one chunk radius around the chunk
to be lit or a two chunk radius around the chunk the entity is in. These
lookups happen every tick even though their result is unlikely to change
that often. To reduce the cost of these checks we replace them with a
system to keep track of what neighbor chunks a chunk has loaded and update
it when chunks load or unload which is a much less frequent action. On a
server with ten players this change removes about 100,000 calls a tick to
LongObjectHashMap's containsKey method.

By: Travis Watkins <amaranth@ubuntu.com>
2014-06-16 19:01:55 -05:00
CraftBukkit/Spigot
3e6636e2b6 Updated version to 1.7.9-R0.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2014-06-01 02:36:02 -04:00
CraftBukkit/Spigot
c0343ab5ea Updated version to 1.7.9-R0.2 in pom.xml for Beta.
By: EvilSeph <evilseph@gmail.com>
2014-06-01 01:45:55 -04:00
CraftBukkit/Spigot
151f12627a Use UUIDs in CraftPlayer equals and hashCode methods. Fixes BUKKIT-5634
By: Daniel Naylor <git@drnaylor.co.uk>
2014-05-26 20:33:10 +01:00
CraftBukkit/Spigot
93b3b6a162 Fix polarity of Bat.isAwake() and Bat.setAwake(boolean). Fixes BUKKIT-5624
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-05-20 03:13:35 -05:00
CraftBukkit/Spigot
40a99f5a97 Updated version to 1.7.9-R0.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2014-05-14 23:38:50 -04:00
CraftBukkit/Spigot
f0b0b92c39 Updated version to 1.7.9-R0.1 in pom.xml for Beta.
By: EvilSeph <evilseph@gmail.com>
2014-05-14 22:40:51 -04:00
CraftBukkit/Spigot
82a09cfb9f Update CraftBukkit to use new YamlConfiguration encoding changes
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-05-14 05:49:04 -05:00