Commit graph

47 Commits

Autor SHA1 Nachricht Datum
md_5
9a1f5ee80a Update to Minecraft 1.12.2 2017-09-18 20:00:00 +10:00
md_5
a7d074c6c0 SPIGOT-3329: Allow per world loot tables 2017-06-15 20:34:19 +10:00
Jacob Martin
f7d14f184d Fix detection of missing or invalid tile entities for End portals and gateways 2017-06-12 12:41:18 -05:00
md_5
639aa0cf48 SPIGOT-3320: Apply tile entity fixer to more types 2017-06-11 08:32:29 +10:00
md_5
701b06494d SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete 2017-06-03 17:39:03 +10:00
md_5
1004352990 Update to Minecraft 1.12-pre5 2017-05-19 21:00:13 +10:00
md_5
913c5a61f7 SPIGOT-3242: Fix rain not showing client side 2017-05-15 15:01:05 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
Pokechu22
4d3bf20155 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.
2017-01-18 17:42:35 -08:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
caf86c88a9 Use CraftEventFactory for BlockFormEvent 2016-12-09 12:45:21 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
Pokechu22
e20928f7da SPIGOT-2726: Fix duplicate UUID check not always running
World.addEntity(Entity entity) calls addEntity(entity, SpawnReason.DEFAULT), which contains the code that was originally in addEntity (and some event code).

However, WorldServer previously only had addEntity(Entity entity), so if addEntity(Entity entity, SpawnReason spawnreason) was called directly, the UUID check that's found in it (the call to 'i') is skipped.  This happens, among other places, in ChunkRegionLoader.spawnEntity (which /summon uses).

I fixed this by making WorldServer override the SpawnReason version, rather than the regular version.  This is safe to do because the World version calls the SpawnReason version - it's not necessary to do the same thing in WorldServer.
2016-10-16 19:42:23 +11:00
md_5
a327d9f1da SPIGOT-2504: Save structure info for secondary worlds 2016-07-08 10:55:51 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
Thinkofname
b70058afa2 SPIGOT-2191: Fix a missed diff from 1.8.8 2016-04-17 17:47:51 +01:00
Thinkofname
6e527e5b88 Update to Minecraft 1.9.2 2016-03-30 21:06:51 +01:00
BlackHole
87e677ce49 Add spawn reasons for entities involved in a skeleton trap 2016-03-14 16:54:38 +11:00
Thinkofdeath
189652175c SPIGOT-1632: Save secondary data for nether/end 2016-03-02 22:57:53 +00:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
md_5
efe04b82b2 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.
2016-02-05 11:48:30 +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
9cd11117fe SPIGOT-1168: Fix setSleepingIgnored not working on spectators. 2015-09-06 15:05:56 +10:00
md_5
7723b90d91 Fix HashTreeSet which went missing in the previous commit. 2015-06-06 19:51:11 +10:00
md_5
a65e45d889 [SPIGOT-946] Begin making use of access transforms to simplify patching. 2015-06-06 19:46:42 +10:00
md_5
a6a57a96d0 Update to Minecraft 1.8.7 2015-06-05 20:57:48 +10:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
Thinkofdeath
a486600749 Update to 1.8.4 2015-05-17 10:32:59 +01:00
Thinkofdeath
35d953bac8 Replace the two nextTickList sets with a single one that combines both
Should prevent them from going out of sync
2015-04-13 11:04:38 +01:00
Thinkofdeath
6fe6b3842c SPIGOT-291: Change from scoreboard per a world to scorebard per a server 2015-03-16 11:32:53 +00:00
Thinkofdeath
6a374be737 Fix possible tick list syncing issue 2015-03-15 21:11:15 +00:00
Thinkofdeath
20ef9f5676 SPIGOT-677: Add populators slightly later to make sure everything is initialized 2015-03-11 10:15:39 +00:00
Thinkofdeath
624c97f081 Fix a null pointer issue with multiworld 2015-03-07 12:11:01 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
md_5
07fcb493a9 Rewrite storm / thunder event handling to catch all cases. Fixes SPIGOT-335. 2015-01-05 09:50:48 +11:00
Thinkofdeath
ff66a9a65c SPIGOT-354: Fix the version being incorrect for level.dat 2015-01-04 19:54:51 +00:00
Thinkofdeath
2d5a55b369 SPIGOT-307: Fix inverted logic in WorldServer.sendParticles 2014-12-28 14:56:18 +00:00
Antony Riley
88366173d8 SPIGOT-169: Save level.dat for non-primary worlds. 2014-12-10 18:45:44 +02: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
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
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
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