Commit graph

1813 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
ae714e4861 Update to Minecraft 1.8.7
By: md_5 <git@md-5.net>
2015-06-05 20:57:48 +10:00
CraftBukkit/Spigot
c72d0324fc Update commands.yml headers
By: md_5 <git@md-5.net>
2015-06-01 19:23:31 +10:00
CraftBukkit/Spigot
7ffb160a28 Add PAIL comments to a few things.
By: md_5 <git@md-5.net>
2015-05-31 16:20:53 +10:00
CraftBukkit/Spigot
a0a199a242 Remove unused bukkit.yml options and update links / info.
By: md_5 <git@md-5.net>
2015-05-31 12:11:56 +10:00
CraftBukkit/Spigot
d51622e774 Don't need to special case certain monster spawn eggs as Mojang has long since fixed those issues.
By: md_5 <git@md-5.net>
2015-05-31 11:40:23 +10:00
CraftBukkit/Spigot
af0e9b8bf1 SPIGOT-941: Fix a mistake in vine handling
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-30 15:38:53 +01:00
CraftBukkit/Spigot
4f2f0c69f2 Handle a missed case with our vanilla permissions override
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-30 00:06:18 +01:00
CraftBukkit/Spigot
0bd951b1a4 [SPIGOT-424, MC-73474] Add fix for powered rail duplication.
No redstone related side effects that we know of and hopefully there are none. Please report any to the tracker.

By: md_5 <git@md-5.net>
2015-05-29 19:45:17 +10:00
CraftBukkit/Spigot
a691408b2c Add ability to add a string to a scoreboard instead of a player
By: Matt <mattbdev@outlook.com>
2015-05-12 22:42:47 -04:00
CraftBukkit/Spigot
5e6f5eeb0d BUILDTOOLS-114 / MC-80817 : Fix server not starting when native processor info cannot be initialized.
By: md_5 <git@md-5.net>
2015-05-29 15:23:52 +10:00
CraftBukkit/Spigot
988a6357c8 Remove a few redundant POM elements and global package seal (SPIGOT-221)
By: md_5 <git@md-5.net>
2015-05-28 18:54:32 +10:00
CraftBukkit/Spigot
7a63a644d9 Send the packet for the correct container, rather than just the container that is active at the time. - SPIGOT-932
By: DemonWav <demonwav@gmail.com>
2015-05-27 14:59:06 -05:00
CraftBukkit/Spigot
66c4b9d50d SPIGOT-738: Return explosion source for Fireball-induced explosions
By: Nathan Wolf <nathan@elmakers.com>
2015-05-26 18:48:53 +10:00
CraftBukkit/Spigot
ea2a79ee8a Send the set item packet to the client when an item is changed or added in a player's inventory - Addresses SPIGOT-883
By: DemonWav <demonwav@gmail.com>
2015-05-21 06:07:16 -05:00
CraftBukkit/Spigot
d15cfa4c49 Don't toString disconnect message in console.
By: md_5 <git@md-5.net>
2015-05-26 18:40:15 +10:00
CraftBukkit/Spigot
d1875d1941 Update to Minecraft 1.8.6
By: md_5 <git@md-5.net>
2015-05-25 22:04:32 +10:00
CraftBukkit/Spigot
6c1c28bd14 Cut fluff from patch headers.
By: md_5 <git@md-5.net>
2015-05-25 20:37:24 +10:00
CraftBukkit/Spigot
027da9d004 SPIGOT-769: Fix opening custom inventories.
By: md_5 <git@md-5.net>
2015-05-24 10:42:53 +10:00
CraftBukkit/Spigot
151cf48284 Default to BlockFace.SELF for null directions in getFacing
By: Nathan Wolf <nathan@elmakers.com>
2015-05-22 19:42:09 -07:00
CraftBukkit/Spigot
e5baf3afa5 Check the value returned from useItemInHand() so plugins can properly cancel it - SPIGOT-764
By: DemonWav <demonwav@gmail.com>
2015-05-22 22:52:05 -05:00
CraftBukkit/Spigot
8073f9d893 Update to 1.8.5
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-22 14:33:34 +01:00
CraftBukkit/Spigot
fa0d9a146c Invalidate furnace block type after change.
By: md_5 <git@md-5.net>
2015-05-21 19:02:38 +10:00
CraftBukkit/Spigot
b4c6dbf986 SPIGOT-834: Stop EnderMites from spawning when EnderPearl event is cancelled.
By: md_5 <git@md-5.net>
2015-05-21 17:28:21 +10:00
CraftBukkit/Spigot
4591f3b039 SPIGOT-844: Use actual block when deciding to send visual updates for burning furnaces.
By: md_5 <git@md-5.net>
2015-05-21 17:23:29 +10:00
CraftBukkit/Spigot
a59ab39d5c SPIGOT-854: Reset idle timer on disconnect to prevent spam duplicate disconnect.
By: md_5 <git@md-5.net>
2015-05-21 17:15:47 +10:00
CraftBukkit/Spigot
d30fdfd814 SPIGOT-887: Fix getOwner() on internal sheep inventories.
By: md_5 <git@md-5.net>
2015-05-21 16:56:58 +10:00
CraftBukkit/Spigot
e1ae116f43 Readd missed diff
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-20 16:15:22 +01:00
CraftBukkit/Spigot
ec625f3a7b Update deprecation mappings to 1.8.4
By: md_5 <git@md-5.net>
2015-05-18 20:35:24 +10:00
CraftBukkit/Spigot
38b1bb1aef Update to 1.8.4
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-05 21:43:47 +01:00
CraftBukkit/Spigot
ed8ca79a65 Remove unneeded Java 1.5 Compat
By: Matt <mattbdev@outlook.com>
2015-04-29 11:45:43 -04:00
CraftBukkit/Spigot
d99a0ceffa Add the ability for commandblocks to be sent messages via the API.
By: Cory Redmond <acecheese@live.co.uk>
2015-04-13 02:15:16 +02:00
CraftBukkit/Spigot
6d1b6a4ed0 Revert: Don't try and disconnect twice
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-17 11:55:10 +01:00
CraftBukkit/Spigot
3b8d2bedd8 Move a bug fix from Spigot to CraftBukkit
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-16 22:20:57 +01:00
CraftBukkit/Spigot
b69e64b88d Fix NPE that could happen on teleporting
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-16 21:23:26 +01:00
CraftBukkit/Spigot
019d3adf9b SPIGOT-581: Allow for unhandled nbt tags to be serialized to yaml
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-16 11:01:13 +01:00
CraftBukkit/Spigot
bce492ad11 SPIGOT-697: Force metadata updates when interact events are cancelled
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-15 17:35:14 +01:00
CraftBukkit/Spigot
183390cd0b SPIGOT-795: Enable the vehicle's ai before teleporting
Handles a case where a plugin dismounts the player during the event

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-15 16:29:02 +01:00