3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Commit graph

235 Commits

Autor SHA1 Nachricht Datum
Stefan
e1070b9fbb SPIGOT-206 Further checks and fixes for Hanging entities.
Adds an check for existing entities before selecting the location allowing
for hanging entities to be spawned in blocks where there already is an
hanging entity at the default rotation.
Fixes the CraftHanging setRotation function to use the new 1.8 logic.
2014-12-15 14:42:00 +00:00
Thinkofdeath
4207eeffe0 SPIGOT-212: Modify the vanilla change gamemode method to call our version 2014-12-15 14:14:59 +00:00
DemonWav
55e592e542 Don't decrement ItemStack when CreatureSpawnEvent is canceled - addresses SPIGOT-87 2014-12-15 13:54:01 +00:00
Suddenly
b9c3e3e8f0 Swap out always-OP vanilla system for Bukkit OP checking in command blocks 2014-12-15 10:04:42 +00:00
Thinkofdeath
9f422c3424 SPIGOT-211: Fix mistake in EntityHuman breaking bed spawns 2014-12-13 22:35:37 +00:00
Thinkofdeath
354449ae9a Support vanilla's direction tag for fireballs 2014-12-13 12:34:12 +00:00
Thinkofdeath
d5ede3bd6d Rework the vanilla link fix so that hover/click events aren't lost 2014-12-13 10:27:26 +00:00
Thinkofdeath
5f2a9eadde SPIGOT-199: Default to white instead of black for chat messages 2014-12-13 09:37:47 +00:00
md_5
e8efbb8a87 Handle cross dimensional teleports and events. 2014-12-13 09:54:59 +11:00
Thinkofdeath
95169d4765 Use CraftChatMessage.fromComponent so that colors remain in sent messages 2014-12-12 21:46:12 +00:00
Thinkofdeath
64157d1de5 SPIGOT-189: Remove ListenerWrapper in favour of just doing it in EntityPlayer 2014-12-12 19:27:37 +00:00
md_5
7017af7e6d [Vanilla Fix] Process links in broadcasted messages. 2014-12-12 18:20:42 +11:00
Fabian Faßbender
9d43c91ceb Default to Y=1 when a Y=0 BlockPosition is found to be used in the BiomeDecorator. This prevents the "n must be positive" Crash due to the fact that sometimes the heightMap can be wrong calculated. Fixes SPIGOT-91 2014-12-12 13:14:35 +11:00
md_5
1f8414b489 Rebuilt patches 2014-12-12 11:05:04 +11:00
FearThe1337
45cd36e553 Fix a client crash issue involving maps. 2014-12-12 11:03:52 +11:00
md_5
9fa497cd55 Add implementation of the elder Guardian API 2014-12-12 10:57:00 +11:00
Thinkofdeath
b13fd35165 Re-enable selectors for players and the console using vanilla commands 2014-12-11 20:05:48 +00:00
Thinkofdeath
fe41b017ca Fixed mis-placed CraftBukkit comments 2014-12-11 00:44:30 +00:00
Thinkofdeath
14d69f1513 Remove old dev comments 2014-12-11 00:40:25 +00:00
Thinkofdeath
d5c9a3c990 SPIGOT-179: Fix the age counter not being reset for cacti and reeds 2014-12-11 00:13:27 +00:00
Thinkofdeath
f48410a39c Fix per a world world borders
Well... mostly anyway
2014-12-10 19:17:17 +00:00
FearThe1337
e24569a9ed SPIGOT-143: Fix various animal stuff not being canceled by damageEntity.
Fixes wolves and ocelots standing up when the damag event is being canceled.
Also stops breeding mode reset by the same event.
2014-12-10 18:35:55 +00:00
Thinkofdeath
0af8ea10d8 Fix another missed scoreboard rename 2014-12-10 17:04:45 +00:00
Thinkofdeath
611ebfa752 Merge pull request #42 in SPIGOT/craftbukkit from ~CYBERTIGER/craftbukkit:save-gamerules to master
* commit '88366173d8281e8a7c6f6464f5784cdfdf87ee2b':
  SPIGOT-169: Save level.dat for non-primary worlds.
2014-12-10 17:48:26 +01:00
Antony Riley
88366173d8 SPIGOT-169: Save level.dat for non-primary worlds. 2014-12-10 18:45:44 +02:00
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
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
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
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
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
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
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
b6cff41473 SPIGOT-96/BUKKIT-5016: Fix thunder storms not darkening the sky and transitions being broken. 2014-12-02 15:14:17 +00:00
Thinkofdeath
d2c2630307 SPIGOT-85: Fix NPE in monster spawners when right-clicked with invalid spawn eggs 2014-12-01 10:08:17 +00:00
Fabian Faßbender
ebec73b5a9 Another attempt of fixing OOB Horses. Just remove them from the world instead of setting it dead. 2014-11-30 19:02:56 +01:00
Thinkofdeath
cab7c772df Add missing CB comment 2014-11-30 16:35:44 +00:00
Thinkofdeath
c81db390ac Force chunk loading in EntityHuman.getBed, Fixes SPIGOT-64 2014-11-30 16:33:45 +00:00
Fabian Faßbender
cc0d8bb327 Update the correct Scoreboard Criteria when a health change comes in. This fixes SPIGOT-20 2014-11-30 13:34:38 +01:00
Thinkofdeath
7c0f352486 Fix LEFT_CLICK_AIR 2014-11-30 12:10:30 +00:00
Thinkofdeath
c8adfecee3 Add a flag to correctly convert signs to 1.8 2014-11-30 11:23:45 +00:00
Fabian Faßbender
c8a76994dc 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
2014-11-30 01:03:59 +01:00
Thinkofdeath
cef65526d4 Optimize the invalid block fixing 2014-11-29 23:25:17 +00:00
Thinkofdeath
0f552845d0 Treat LeavesDecayEvent as canceled if a plugin changes the block 2014-11-29 22:31:55 +00:00
Thinkofdeath
9255e9d82c Fix canceling BlockPlaceEvent 2014-11-29 21:17:57 +00:00
Thinkofdeath
bf401fbbde Remove old debug info 2014-11-29 21:09:04 +00:00
Thinkofdeath
89f59f9e4d Merge pull request #8 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-46 to master
* commit '1e8a3f192f78aebad26c3ed9dcdd27d61d51e130':
  Corrected WorldData patch file
  Rewrite the level.dat properly. This fixes SPIGOT-46
2014-11-29 22:14:27 +02:00
Thinkofdeath
dd096a5255 Improve the invalid block handling 2014-11-29 20:00:52 +00:00
Fabian Faßbender
1e8a3f192f Corrected WorldData patch file 2014-11-29 20:36:57 +01:00
Fabian Faßbender
b08f233fe1 Rewrite the level.dat properly. This fixes SPIGOT-46 2014-11-29 20:33:33 +01:00
Fabian Faßbender
4d0f5edb05 Just only hold the last BlockState update for the same location. This fixes SPIGOT-44 2014-11-29 19:08:50 +01:00
Thinkofdeath
fdfadd23d0 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
2014-11-29 17:31:40 +00:00
Thinkofdeath
939f76458e Fire EntityDamageEvent for armor stands
Somewhat of a lazy way of doing it but it will do for now
2014-11-29 16:05:55 +00:00
Fabian Faßbender
a2c4d7e150 Minecraft by default only uses the World at index 0 for the WorldBorder command. This fixes SPIGOT-12 2014-11-29 10:57:22 +00:00
Thinkofdeath
8c3698bf0f Fix command blocks 2014-11-29 00:53:49 +00:00
Thinkofdeath
69e66a69c4 Don't default the universe to the current directory 2014-11-28 23:53:11 +00:00
Thinkofdeath
40d6bb2dc2 Re-add the timestamp for spigot 2014-11-28 23:27:09 +00:00
Thinkofdeath
e795876491 Fix interaction issues 2014-11-28 23:07:00 +00:00
Thinkofdeath
90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00
GunfighterJ
d6e3dff7d8 Remove patch headers 2014-11-28 16:54:14 -06:00
Thinkofdeath
b84c71e522 Fix enchanting to match 1.8 behaviour 2014-11-28 22:39:33 +00:00
Thinkofdeath
c5d0d74eae Improve vanilla command handling for command blocks 2014-11-28 20:20:03 +00:00
Thinkofdeath
2abdb9a061 Use the right name for the AsyncPlayerPreLoginEvent 2014-11-28 17:43:48 +00:00
Thinkofdeath
669c44cb3c Fix eating food whilst not facing a block 2014-11-28 11:23:19 +00:00
Thinkofdeath
24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00