Commit Graph

3259 Commits

Author SHA1 Message Date
Andrew
039621dd44 Strengthen CraftMetaSkull hasOwner method 2016-02-02 16:37:15 +11:00
Thinkofdeath
930a59c68c Remove the length limit on inventory titles
1.8 no longer has a small limit like previous versions
2016-01-29 10:29:12 +00:00
Thinkofdeath
75593ab621 SPIGOT-1308: Fix typo in PlayerList#sendAll 2016-01-22 11:13:34 +00:00
ryanbennitt
07c300164a SPIGOT-1390: Fixed issues with Array.fill upper bound in setRegion 2016-01-03 15:21:05 +11:00
md_5
d3e0b6fead SPIGOT-1347: Don't change entity add behaviour, just print warning. 2015-12-17 10:24:55 +11:00
md_5
4ac23479e5 Add some warnings from snapshot versions to check whether they are applicable in 1.8.8 2015-12-15 17:12:32 +11:00
md_5
18fbb24b46 SPIGOT-1235: Correctly validate MaterialData for playEffect.
Thanks Jikoo for the report / fix.
2015-10-18 19:40:00 +11:00
Adam Thomas
f4c67a5c32 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.
2015-10-18 19:38:46 +11:00
md_5
12698ea5ad 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.
2015-10-10 22:09:31 +11:00
Thinkofdeath
efd6cb0812 Ensure the buffer for plugin messages is freed. 2015-10-07 21:39:43 +01:00
md_5
4a7472d0bf SPIGOT-1219: Allow ping without status query.
Also minor refactor to use more of the Vanilla logic.
2015-10-03 11:25:43 +10:00
DemonWav
d4e32cef0c SPIGOT-759: Add FireworkExplodeEvent. 2015-09-30 09:02:11 +10:00
BlackyPaw
8cc1683e83 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.
2015-09-30 08:48:28 +10:00
md_5
62a216966f SPIGOT-1076: Add HurtEntities API for FallingBlock. 2015-09-19 09:27:51 +10:00
Thinkofdeath
a0d2928ba4 Add a missing break statement for openInventory, fixes opening dropper inventories 2015-09-18 21:42:40 +01:00
0x277F
2d4f577bbf Fixed how Dropper inventories are shown to players. 2015-09-18 15:16:50 +10:00
md_5
701ae54ffc SPIGOT-1192: Restore some behaviour to entity.getNearbyEntities 2015-09-18 15:15:56 +10:00
md_5
c3730616ee SPIGOT-625: Insert a small delay when shutting down to allow packets to have a better chance at sending. 2015-09-15 19:52:51 +10:00
md_5
9cd11117fe SPIGOT-1168: Fix setSleepingIgnored not working on spectators. 2015-09-06 15:05:56 +10:00
md_5
5e9f698fac SPIGOT-1165: Restore getNearbyEntities behaviour to include spectators. 2015-09-06 14:54:41 +10:00
Jedediah Smith
9a17f01ff1 SPIGOT-949: Fix damage cooldown reducing explosion knockback 2015-08-31 18:06:13 +10:00
md_5
53fac9f1b6 SPIGOT-1111: Fix ServerCommandEvent not being cancelled. 2015-08-08 18:42:24 +10:00
Antony Riley
880a53248e New ChunkGenerator.generate api for block ids and avoiding magic values. 2015-08-01 21:22:29 +10:00
Riccardo Paolo Bestetti
5e85956281 SPIGOT-1080: Added support for opening all inventories implementing Bukkit's Inventory class. 2015-07-31 18:47:09 +10:00
md_5
9935adc4ed Update for minor remapping changes. 2015-07-30 17:13:35 +10:00
md_5
de5c26123f Update to Minecraft 1.8.8 (Pre-)Release. 2015-07-27 22:21:53 +10:00
Thinkofdeath
d27e6d0c54 Add a sane limit for name length 2015-07-25 22:33:25 +01:00
Adam Thomas
219686bdab Implement PlayerResourcePackStatusEvent. 2015-07-25 18:19:37 +10:00
Thinkofdeath
2642f9b344 SPIGOT-1068: Limit the number of patterns on banners 2015-07-23 20:50:53 +01:00
Thinkofdeath
dc40c528d7 Correctly update the last location for a player on teleport 2015-07-23 20:37:58 +01:00
Xor Boole
a3cb1bcd92 Give the README a small update.
It could probably use even more love in the future.
2015-07-22 19:11:18 +10:00
Thinkofdeath
58d972f1dd Correct handling of relative teleports for PlayerMoveEvent and PlayerTeleportEvent 2015-07-20 22:31:49 +01:00
Antony Riley
83cb83dcd4 Fix handling of changes to PlayerVelocityEvent.velocity by event callers. 2015-07-20 22:45:21 +03:00
Xor Boole
3e9b5c93d6 Prevent an Entity from riding itself. 2015-07-20 16:18:08 +10:00
Antony Riley
87b9f46d72 SPIGOT-1060: Allow custom generators to use block ids > 127 with bytes. 2015-07-19 09:23:48 +10:00
md_5
09ddd9b35e SPIGOT-1051: CraftInventoryPlayer.setItem can cause NPE. 2015-07-18 12:43:33 +10:00
md_5
af00fd2a20 SPIGOT-1058: Fix lost player list capping to 60.
Went missing in the 1.8 update.
2015-07-18 12:39:45 +10:00
md_5
3d5ab8fca9 SPIGOT-1055: Send empty string when RCON command is cancelled.
Drops the RemoteControlSession patch as the decompiled code is a mess.
2015-07-17 21:18:55 +10:00
Antony Riley
bf4818b94a Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set. 2015-07-15 19:47:59 +03:00
md_5
b105298f2e Simplify getPlayerExact / try for exact match first in getPlayer. 2015-07-13 19:00:33 +10:00
md_5
65cd4d79fd Simplify OfflinePlayer.getPlayer() logic. 2015-07-13 18:54:08 +10:00
md_5
1f73bbb56a Simplify isOnline() logic. 2015-07-13 18:30:25 +10:00
md_5
55589cd363 SPIGOT-1047: Fix RCON.
Result of staging the file -> decompiler issues.
2015-07-13 16:45:38 +10:00
Morphan1
2359f6fcb0 Implement ItemMergeEvent 2015-07-12 19:57:38 +10:00
Matt
8f9ff9f6fd Server Commands and Remote Commands are now Cancellable. 2015-07-12 19:54:34 +10:00
Jofkos
a03743b3b4 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.
2015-07-10 16:24:02 +10:00
Thinkofdeath
f27339caf8 SPIGOT-977: Use vanilla's handling for command messages for vanilla commands
Fixes gamerules that control the output of those messages
2015-07-08 23:19:21 +01:00
Thinkofdeath
7742e12aff SPIGOT-1018: Fix isFromBonemeal always being false 2015-07-08 22:50:32 +01:00
Thinkofdeath
e3b5669be1 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
2015-07-08 22:42:08 +01:00
BlackyPaw
e91aed81b3 SPIGOT-986: Default back to skull ID 0 (SKELETON) whenever an invalid ID is encountered instead of throwing an AssertionError 2015-06-28 08:44:27 +10:00