Commit Graph

2947 Commits

Author SHA1 Message Date
FearThe1337
b6634d7409 SPIGOT-241 - Fix the duplication glitch of Leads (Vanilla bug).
Glitch is caused because entities drop their leads when they are dead and still leashed and when they can't find their owner (Or the distance is too large).
We need to make sure the entity we set to be dead, loses its leash before the next tick, else there will be two dropped leads.
2014-12-21 17:36:23 +00:00
Thinkofdeath
2681166072 Remove the delayed tile entity removal, fixes issues with recursive removal of comparators 2014-12-21 17:32:35 +00:00
FearThe1337
89944c09c9 SPIGOT-231 and SPIGOT-229. Fix itemframe behaviour.
Confirmed fix for itemframes not showing up. Based on the code in
CraftPainting.
Besids this fix we now pass null itemstacks directly to the
EntityItemFrame to allow the removal of items in ItemFrames.
2014-12-21 09:59:45 +11:00
Fabian Faßbender
ce7dd34b5c aW() does re register Attributes which causes a IllegalArgumentException. This fixes it and sets the Guardian back to a normal Guardian without any problem. 2014-12-21 08:52:20 +11:00
md_5
f233e7d0fe Remove redundant pom entries. 2014-12-19 09:08:27 +11:00
Adam Thomas
606cf0eea4 Implement NameTag visibility API for Teams. 2014-12-18 21:27:46 +11:00
0x277F
dadb43af92 Use value from new potion effect particle visibility API. 2014-12-18 21:20:51 +11:00
md_5
313bc5204c Remove outdated CONTRIBUTING.md 2014-12-18 10:36:24 +11:00
FrozenBrain
618abf7a36 SPIGOT-228: Don't deserialize meta of written books twice 2014-12-18 09:47:10 +11:00
FearThe1337
6fab8fe51e SPIGOT-236 - fix notes playing wrongly.
Formula is from BlockNote (NMS), slightly formatted different to be smaller.
2014-12-18 09:47:10 +11:00
Thinkofdeath
975c9ed4f9 Merge pull request #61 in SPIGOT/craftbukkit from ~FEARTHE1337/craftbukkit:SPIGOT-149 to master
* commit '5ae6f9935cad9a76f1a421bd24c2a4df1f79954d':
  Spigot-149 - Save map in primary world.
2014-12-17 16:30:25 +01:00
FearThe1337
5ae6f9935c Spigot-149 - Save map in primary world. 2014-12-17 16:23:36 +01:00
Thinkofdeath
20c65caae7 SPIGOT-210: Remove the exception when dropping a non-existant task
If the server crashes during chunk generation then the chunk would have never
been added to the executor, this caused a second exception to be thrown when
the server shutdown from the first exception
2014-12-16 10:53:29 +00:00
md_5
7bc218d1e2 Use SpecialSource Maven pluging for compile time remapping. 2014-12-16 10:14:19 +11:00
Thinkofdeath
6b061e2581 SPIGOT-152, SPIGOT-197: Add a system to handle new tags before an api is ready for them 2014-12-15 15:44:57 +00:00
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
Thinkofdeath
28f37a113c Fix entities freezing when a chunk is regenerated 2014-12-15 13:46:41 +00:00
Thinkofdeath
f6bfbb9851 Merge pull request #58 in SPIGOT/craftbukkit from ~DMCK2B/craftbukkit:bugfix/fixNoOPCheckOnCommandBlocks to master
* commit 'b9c3e3e8f0df87a9eeb41e5a56872892ad75c3a2':
  Swap out always-OP vanilla system for Bukkit OP checking in command blocks
2014-12-15 11:07:32 +01:00
Suddenly
b9c3e3e8f0 Swap out always-OP vanilla system for Bukkit OP checking in command blocks 2014-12-15 10:04:42 +00:00
TheCutter
07c2162118 Implement WorldBorder API 2014-12-14 10:02:33 +11:00
md_5
b36f4d56ee Merge pull request #47 in SPIGOT/craftbukkit from ~BAMMERBOM/craftbukkit:master to master
* commit '3d1cdfa2b1d023934a9950e604e20e1140c11fce':
  Fix making craftbukkit patches.
2014-12-13 23:44:36 +01:00
Thinkofdeath
9f422c3424 SPIGOT-211: Fix mistake in EntityHuman breaking bed spawns 2014-12-13 22:35:37 +00:00
Bammerbom
3d1cdfa2b1 Fix making craftbukkit patches. 2014-12-13 20:04:54 +01:00
Stefan
01f0122a9e Fix the spawning of HangingEntities by picking the right direction
Related to SPIGOT-206.
Currently HangingEntities should be located next to the block they are
hanging on. With the direction set to the opposite of the block they
are hanging from.
This code is modified to find the correct direction.
2014-12-13 19:15:29 +01: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
Thinkofdeath
54888dfafb Wrap player's ICommandListener so that our permission system can handle permission
for vanilla commands
2014-12-12 10:33:54 +00:00
Thinkofdeath
81db41b4d2 Ignore errors when parsing books and treat them as old books
In previous versions there was a mistake with book handled which
may leave books in a broken state, this tries to handle that
2014-12-12 09:46:31 +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
zreed
45be36a7b8 Update JLine
Later releases include the TerminalLineSettings patch. Also move call to AnsiConsole.systemInstall() to avoid patching AnsiWindowsTerminal.
2014-12-12 11:06:13 +11:00
zreed
2dda1b33b0 JLine includes Jansi 2014-12-12 11:06:13 +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
FearThe1337
c13e6e69a2 Implement displayblocks for minecarts (SPIGOT-14). 2014-12-12 11:01:47 +11:00
TheCutter
fe8d20e376 using generator settings from WorldCreator to specify presets for FLAT or CUSTOMIZED world types 2014-12-12 11:00:41 +11:00
md_5
9fa497cd55 Add implementation of the elder Guardian API 2014-12-12 10:57:00 +11:00
Thinkofdeath
3b1c7d708e Update gson to 2.2.4 2014-12-11 22:54:06 +00:00
Thinkofdeath
6575597292 Merge pull request #43 in SPIGOT/craftbukkit from ~FEARTHE1337/craftbukkit:perm to master
* commit '33af6fbbbf1c1a8fee3ecc8d4cf79b4a2ba17c16':
  Add the new minecraft command permission nodes.
2014-12-11 21:43:19 +01:00
FearThe1337
33af6fbbbf Add the new minecraft command permission nodes.
Previously bukkit ones were in bukkit. Moved to CraftBukkit with new prefixes.
2014-12-11 21:36:02 +01:00
Thinkofdeath
b13fd35165 Re-enable selectors for players and the console using vanilla commands 2014-12-11 20:05:48 +00:00
Thinkofdeath
84699b36a8 Rewrite book handling, Fixes SPIGOT-182 and part of SPIGOT-164 2014-12-11 19:38:09 +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