Commit graph

1850 commits

Author SHA1 Message Date
CraftBukkit/Spigot
af9f710785 SPIGOT-1605: Fix EntityChangeBlockEvent.setCancelled(Z)V
By: md_5 <git@md-5.net>
2016-03-02 17:07:08 +11:00
CraftBukkit/Spigot
65738f6540 SPIGOT-1622: Add drop chance methods for off hand.
By: md_5 <git@md-5.net>
2016-03-02 17:03:20 +11:00
CraftBukkit/Spigot
371988b00e SPIGOT-1623: Use correct spawnParticle overloads.
By: md_5 <git@md-5.net>
2016-03-02 16:51:03 +11:00
CraftBukkit/Spigot
f7e9806a80 SPIGOT-1610: Treat clicking on an inventory window as clicking outside it
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 23:44:22 +00:00
CraftBukkit/Spigot
5ef0dbef2c Fix chorus plants only straight growing up
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:42:59 +00:00
CraftBukkit/Spigot
d0300bb4e0 SPIGOT-1607: Fix BlockPlaceEvent and BlockMultiPlaceEvent sometimes showing the wrong item used
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:37:08 +00:00
CraftBukkit/Spigot
8c803cbf66 Manually calculate horses' jump power due to horse jumping being moved clientside
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:08:40 +00:00
CraftBukkit/Spigot
453753b3a3 SPIGOT-1575: Fix PlayerInventory.setArmorContents
By: md_5 <git@md-5.net>
2016-03-02 06:58:45 +11:00
CraftBukkit/Spigot
644995a8e5 SPIGOT-1582: Add SkullType.DRAGON
By: md_5 <git@md-5.net>
2016-03-02 06:52:52 +11:00
CraftBukkit/Spigot
d0640b9cd7 SPIGOT-1576: Add more new 1.9 enchants.
By: md_5 <git@md-5.net>
2016-03-02 06:39:09 +11:00
CraftBukkit/Spigot
4ff62a4c6a SPIGOT-1590: Ensure plugins are disabled.
By: md_5 <git@md-5.net>
2016-03-02 06:33:41 +11:00
CraftBukkit/Spigot
849f9f08b0 SPIGOT-1596: BlockCauldron crash
By: md_5 <git@md-5.net>
2016-03-02 06:31:11 +11:00
CraftBukkit/Spigot
c964d0499b SPIGOT-1569: Remove negative itemstack data filtering
By: md_5 <git@md-5.net>
2016-03-01 20:16:34 +11:00
CraftBukkit/Spigot
bce53b72eb SPIGOT-1568: Fix jukeboxes
By: md_5 <git@md-5.net>
2016-03-01 20:07:44 +11:00
CraftBukkit/Spigot
bfaa5525f9 SPIGOT-1567: Rework setItems to set slots correctly regardless of array reference.
By: md_5 <git@md-5.net>
2016-03-01 19:59:52 +11:00
CraftBukkit/Spigot
99001e5c52 SPIGOT-1523: Add FLY_INTO_WALL DamageCause to fix Elytra crash v2.
By: md_5 <git@md-5.net>
2016-03-01 17:35:18 +11:00
CraftBukkit/Spigot
d599c20863 SPIGOT-1543: Return combined slots for PlayerInventory.getContents
By: md_5 <git@md-5.net>
2016-03-01 16:40:12 +11:00
CraftBukkit/Spigot
42a4bc80e2 SPIGOT-1545: Populate Vanilla villager trades correctly.
By: md_5 <git@md-5.net>
2016-03-01 14:13:42 +11:00
CraftBukkit/Spigot
4d379a2627 SPIGOT-1528: Maintain static sound map due to oversight re: underscore :(
By: md_5 <git@md-5.net>
2016-03-01 14:04:41 +11:00
CraftBukkit/Spigot
851c09f4d7 SPIGOT-1540: Treat clicking on player model with ItemStack as none.
By: md_5 <git@md-5.net>
2016-03-01 13:52:34 +11:00
CraftBukkit/Spigot
aedd9af144 SPIGOT-1541: Fix firework launching
By: md_5 <git@md-5.net>
2016-03-01 13:46:07 +11:00
CraftBukkit/Spigot
343d04f7cd SPIGOT-1536: Fix playNote
By: md_5 <git@md-5.net>
2016-03-01 13:42:54 +11:00
CraftBukkit/Spigot
84d08ed896 Ignore FROSTED_ICE in meta unit tests.
By: md_5 <git@md-5.net>
2016-03-01 13:30:26 +11:00
CraftBukkit/Spigot
9958bd4c52 SPIGOT-1523: Crash when flying Elytra into wall.
By: md_5 <git@md-5.net>
2016-03-01 11:27:13 +11:00
CraftBukkit/Spigot
c8e3e16545 SPIGOT-1525: Fix worldborder set.
By: md_5 <git@md-5.net>
2016-03-01 11:20:42 +11:00
CraftBukkit/Spigot
76b95af5bc Fix accidental omission of R revision number in version.
By: md_5 <git@md-5.net>
2016-03-01 11:07:20 +11:00
CraftBukkit/Spigot
f1fc9e87a8 Remove BookEditEvent as a workaround for decompiler determinism issues.
By: md_5 <git@md-5.net>
2016-03-01 09:58:55 +11:00
CraftBukkit/Spigot
47dc73969e Run Biome test with AbstractTestingBase
By: md_5 <git@md-5.net>
2016-03-01 09:49:29 +11:00
CraftBukkit/Spigot
21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00
CraftBukkit/Spigot
2da480a9c8 [SPIGOT-1494] Really fix player skulls with custom texture but without owner.
By: BlackHole <black-hole@live.com>
2016-02-17 02:15:43 +01:00
CraftBukkit/Spigot
eb6f00d0c9 [BUKKIT-3451] Use correct item amount for FurnaceExtractEvent.
Also don't call FurnaceExtractEvent when the item amount is 0.

By: hibo98 <hibo98.niklas@gmail.com>
2015-12-19 20:04:58 +01:00
CraftBukkit/Spigot
7588b12e6c Removed tried to add entity warning.
Was a debug message backported from Vanilla 1.9 snapshots. We have decided to remove this message from 1.9 as it is largely useless.

By: md_5 <git@md-5.net>
2016-02-05 11:48:30 +11:00
CraftBukkit/Spigot
0b8791b7fc [SPIGOT-1465] Fix skulls with no owner not displaying texture.
By: md_5 <git@md-5.net>
2016-02-05 11:44:06 +11:00
CraftBukkit/Spigot
fd6787491b Strengthen CraftMetaSkull hasOwner method
By: Andrew <andrew@epifano.codes>
2016-02-02 16:37:15 +11:00
CraftBukkit/Spigot
9dd1f7fef4 Remove the length limit on inventory titles
1.8 no longer has a small limit like previous versions

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-01-29 10:29:12 +00:00
CraftBukkit/Spigot
99fbeecd40 SPIGOT-1308: Fix typo in PlayerList#sendAll
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-01-22 11:13:34 +00:00
CraftBukkit/Spigot
94c5a50dc3 SPIGOT-1390: Fixed issues with Array.fill upper bound in setRegion
By: ryanbennitt <ryanbennitt@googlemail.com>
2016-01-01 14:03:17 +00:00
CraftBukkit/Spigot
635382a96a SPIGOT-1347: Don't change entity add behaviour, just print warning.
By: md_5 <git@md-5.net>
2015-12-17 10:24:55 +11:00
CraftBukkit/Spigot
821fe97c82 Add some warnings from snapshot versions to check whether they are applicable in 1.8.8
By: md_5 <git@md-5.net>
2015-12-15 17:12:32 +11:00
CraftBukkit/Spigot
21f51e5f5b SPIGOT-1235: Correctly validate MaterialData for playEffect.
Thanks Jikoo for the report / fix.

By: md_5 <git@md-5.net>
2015-10-18 19:40:00 +11:00
CraftBukkit/Spigot
1c505181d5 SPIGOT-1232: CraftServer.getPlayer(String name) returns incorrect results in some cases.
Use the absolute value of the delta to prevent negative values resulting in a better match.

By: Adam Thomas <aet2505@gmail.com>
2015-10-14 18:56:08 +01:00
CraftBukkit/Spigot
5f68a2157e SPIGOT-1230: Normalize null log names in ForwardLogHandler.
Not technically 100% correct since null != "null", but without sacrficing performance this is the best way to fix the issue in the current implementation.

By: md_5 <git@md-5.net>
2015-10-10 22:08:44 +11:00
CraftBukkit/Spigot
4432f095f7 Ensure the buffer for plugin messages is freed.
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-10-07 21:39:43 +01:00
CraftBukkit/Spigot
91a65a1f27 SPIGOT-1219: Allow ping without status query.
Also minor refactor to use more of the Vanilla logic.

By: md_5 <git@md-5.net>
2015-10-03 11:25:43 +10:00
CraftBukkit/Spigot
cc7273b066 SPIGOT-759: Add FireworkExplodeEvent.
By: DemonWav <demonwav@gmail.com>
2015-09-30 09:02:11 +10:00
CraftBukkit/Spigot
05031ccd5e SPIGOT-989: Cap assignment of pickup delays to Short.MAX_VALUE due to storage implementation constraints.
Changed assignment of pickup delays in such a way that they may not be larger than the value actually stored inside the NBT format that is Short.MAX_VALUE. Did not change method signature in order not to produce any shortening cast warnings in existing code. All values larger than 32767 are generally used to indicate that an item should never be picked up. Shortening this to 32767 will actually cause the pickup delay to never decrease, thus resulting in non-pickupable item stacks.

By: BlackyPaw <kapilands@web.de>
2015-06-21 12:28:37 +02:00
CraftBukkit/Spigot
7684642aa9 SPIGOT-1076: Add HurtEntities API for FallingBlock.
By: md_5 <git@md-5.net>
2015-08-01 16:48:20 +10:00
CraftBukkit/Spigot
702701f4ce Add a missing break statement for openInventory, fixes opening dropper inventories
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-09-18 21:42:40 +01:00
CraftBukkit/Spigot
9cc3d2c1df Fixed how Dropper inventories are shown to players.
By: 0x277F <0x277F@gmail.com>
2015-09-17 15:14:32 -06:00
CraftBukkit/Spigot
08a3d51d7c SPIGOT-1192: Restore some behaviour to entity.getNearbyEntities
By: md_5 <git@md-5.net>
2015-09-18 15:15:56 +10:00
CraftBukkit/Spigot
bec7083140 SPIGOT-625: Insert a small delay when shutting down to allow packets to have a better chance at sending.
By: md_5 <git@md-5.net>
2015-09-15 19:52:51 +10:00
CraftBukkit/Spigot
1843b52039 SPIGOT-1168: Fix setSleepingIgnored not working on spectators.
By: md_5 <git@md-5.net>
2015-09-06 15:05:56 +10:00
CraftBukkit/Spigot
921337db16 SPIGOT-1165: Restore getNearbyEntities behaviour to include spectators.
By: md_5 <git@md-5.net>
2015-09-06 14:54:41 +10:00
CraftBukkit/Spigot
fb04f93364 SPIGOT-949: Fix damage cooldown reducing explosion knockback
By: Jedediah Smith <jedediah@silencegreys.com>
2015-08-31 18:06:13 +10:00
CraftBukkit/Spigot
280ae804ee SPIGOT-1111: Fix ServerCommandEvent not being cancelled.
By: md_5 <git@md-5.net>
2015-08-08 18:42:24 +10:00
CraftBukkit/Spigot
4d40084c65 New ChunkGenerator.generate api for block ids and avoiding magic values.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-28 16:22:13 +03:00
CraftBukkit/Spigot
fa2e7e41c0 SPIGOT-1080: Added support for opening all inventories implementing Bukkit's Inventory class.
By: Riccardo Paolo Bestetti <riccardo.kyogre@live.it>
2015-07-30 18:34:01 +10:00
CraftBukkit/Spigot
c35a7254c5 Update for minor remapping changes.
By: md_5 <git@md-5.net>
2015-07-30 16:56:52 +10:00
CraftBukkit/Spigot
332e77d249 Update to Minecraft 1.8.8 (Pre-)Release.
By: md_5 <git@md-5.net>
2015-07-27 22:19:19 +10:00
CraftBukkit/Spigot
c0e326b62a Add a sane limit for name length
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-25 22:33:25 +01:00
CraftBukkit/Spigot
e909dd95d8 Implement PlayerResourcePackStatusEvent.
By: Adam Thomas <aet2505@gmail.com>
2015-07-25 18:19:37 +10:00
CraftBukkit/Spigot
9a15d77433 SPIGOT-1068: Limit the number of patterns on banners
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-23 20:50:53 +01:00
CraftBukkit/Spigot
059a14a3a5 Correctly update the last location for a player on teleport
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-23 20:37:58 +01:00
CraftBukkit/Spigot
dcf25b2c5d Give the README a small update.
It could probably use even more love in the future.

By: Xor Boole <mcyoung@mit.edu>
2015-03-19 18:27:31 -04:00
CraftBukkit/Spigot
ca6bbcbdc9 Correct handling of relative teleports for PlayerMoveEvent and PlayerTeleportEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-20 22:31:49 +01:00
CraftBukkit/Spigot
d9663c5e2b Fix handling of changes to PlayerVelocityEvent.velocity by event callers.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-20 22:42:30 +03:00
CraftBukkit/Spigot
50a4a79f61 Prevent an Entity from riding itself.
By: Xor Boole <mcyoung@mit.edu>
2015-07-20 16:18:08 +10:00
CraftBukkit/Spigot
4a7005310e SPIGOT-1060: Allow custom generators to use block ids > 127 with bytes.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-18 23:06:31 +03:00
CraftBukkit/Spigot
06bf5fda59 SPIGOT-1051: CraftInventoryPlayer.setItem can cause NPE.
By: md_5 <git@md-5.net>
2015-07-18 12:43:33 +10:00
CraftBukkit/Spigot
ba5443ae84 SPIGOT-1058: Fix lost player list capping to 60.
Went missing in the 1.8 update.

By: md_5 <git@md-5.net>
2015-07-18 12:39:45 +10:00
CraftBukkit/Spigot
3bfbbcafa3 SPIGOT-1055: Send empty string when RCON command is cancelled.
Drops the RemoteControlSession patch as the decompiled code is a mess.

By: md_5 <git@md-5.net>
2015-07-17 21:18:48 +10:00
CraftBukkit/Spigot
d9151fa3c1 Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-15 19:47:59 +03:00
CraftBukkit/Spigot
3cb3a3bd2e Simplify getPlayerExact / try for exact match first in getPlayer.
By: md_5 <git@md-5.net>
2015-07-13 19:00:33 +10:00
CraftBukkit/Spigot
e19d7d24a2 Simplify OfflinePlayer.getPlayer() logic.
By: md_5 <git@md-5.net>
2015-07-13 18:54:08 +10:00
CraftBukkit/Spigot
f0c27fe66c Simplify isOnline() logic.
By: md_5 <git@md-5.net>
2015-07-13 18:30:25 +10:00
CraftBukkit/Spigot
2dc238689f SPIGOT-1047: Fix RCON.
Result of staging the file -> decompiler issues.

By: md_5 <git@md-5.net>
2015-07-13 16:45:38 +10:00
CraftBukkit/Spigot
6c1f679dd7 Implement ItemMergeEvent
By: Morphan1 <morphanone@gmail.com>
2015-06-26 05:55:33 -04:00
CraftBukkit/Spigot
b201f850d6 Server Commands and Remote Commands are now Cancellable.
By: Matt <mattbdev@outlook.com>
2015-07-12 19:54:34 +10:00
CraftBukkit/Spigot
af2b41da07 Add basic sendTitle / resetTitle API.
More APIs to follow pending feedback of whether this is the preferred implementation. Methods marked as deprecated and subject to change, but work as is.

By: Jofkos <JofkosDE@gmail.com>
2015-07-10 16:24:02 +10:00
CraftBukkit/Spigot
e9823c2717 SPIGOT-977: Use vanilla's handling for command messages for vanilla commands
Fixes gamerules that control the output of those messages

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 23:19:21 +01:00
CraftBukkit/Spigot
fb20e9dc13 SPIGOT-1018: Fix isFromBonemeal always being false
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 22:50:32 +01:00
CraftBukkit/Spigot
e6c356ccec SPIGOT-915: Remove the getEntities filter
Didn't fix the issue like i'd hoped and broke a few plugins in the process.
Ideally though plugins shouldn't be using it for large ranges because it
is inefficient

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 22:42:08 +01:00
CraftBukkit/Spigot
4f4f65f128 SPIGOT-986: Default back to skull ID 0 (SKELETON) whenever an invalid ID is encountered instead of throwing an AssertionError
By: BlackyPaw <kapilands@web.de>
2015-06-18 14:20:01 +02:00
CraftBukkit/Spigot
eb910f7764 SPIGOT-980: Fix NPE when setting items of offline players
By: DoctorDark <doctordark11@gmail.com>
2015-06-10 23:35:49 +01:00
CraftBukkit/Spigot
2d453c57bf Clean up World.getPlayers().
Original idea from CyberTiger, PR #150

By: md_5 <git@md-5.net>
2015-06-27 15:46:19 +10:00
CraftBukkit/Spigot
edf24d4fd6 Fix modified fireworks from dispenser event
By: chickeneer <emcchickeneer@gmail.com>
2015-06-13 22:50:04 -05:00
CraftBukkit/Spigot
a06700d1aa SPIGOT-892: Set chicken egg baby age before adding it to world.
By: md_5 <git@md-5.net>
2015-06-12 16:00:08 +10:00
CraftBukkit/Spigot
181cd3fd33 SPIGOT-436: Add accompanying getSpectatorTarget().
By: md_5 <git@md-5.net>
2015-06-12 15:34:54 +10:00
CraftBukkit/Spigot
90df5ef6df Raise the limit slightly to account for colors
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-12 10:38:20 +01:00
CraftBukkit/Spigot
c2130ccb81 Apply strict limits on the length of sign text
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-12 10:23:05 +01:00
CraftBukkit/Spigot
c270f2389a SPIGOT-970, MC-80484: Disallow NBT pick block on chests.
By: md_5 <git@md-5.net>
2015-06-12 15:30:12 +10:00
CraftBukkit/Spigot
3ad5a522b4 Allow for the jline console to be overriden in normally unsupported enviroments
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-11 12:59:36 +01:00
CraftBukkit/Spigot
edcd4ced4b SPIGOT-973: Add marker API to ArmorStand
By: Nathan Wolf <nathan@elmakers.com>
2015-06-09 09:34:37 +10:00
CraftBukkit/Spigot
75912b19d6 SPIGOT-436: Add spectator camera API.
By: md_5 <git@md-5.net>
2015-06-07 17:54:29 +10:00
CraftBukkit/Spigot
611e993245 SPIGOT-954: Don't send block animations or gamemode updates to players can't see the player
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-06-07 21:04:28 +01:00
CraftBukkit/Spigot
4e24c96462 Serialize full skull item profile data in internal blob
By: Nathan Wolf <nathan@elmakers.com>
2015-04-16 07:51:08 -07:00
CraftBukkit/Spigot
b27cde3769 Use a Java 6 concurrent collection.
By: md_5 <git@md-5.net>
2015-06-07 19:56:28 +10:00
CraftBukkit/Spigot
5a6233a9e0 [SPIGOT-461] Use a more appropriate collection for conccurent UserCache
By: md_5 <git@md-5.net>
2015-06-07 19:51:26 +10:00
CraftBukkit/Spigot
6efbe65378 Fix HashTreeSet which went missing in the previous commit.
By: md_5 <git@md-5.net>
2015-06-06 19:51:11 +10:00
CraftBukkit/Spigot
58abe21c5a [SPIGOT-946] Begin making use of access transforms to simplify patching.
By: md_5 <git@md-5.net>
2015-06-06 19:33:48 +10:00