mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fix patch conflicts
This commit is contained in:
parent
b7d6f29245
commit
bd4ee28e5c
@ -464,7 +464,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
|
||||
if (this.isLoaded(blockposition) && this.N.a(blockposition)) {
|
||||
try {
|
||||
this.methodProfiler.a(tileentity.getClass().getSimpleName());
|
||||
this.methodProfiler.a(""/*tileentity.getClass().getSimpleName()*/); // CraftBukkit: SPIGOT-1900
|
||||
+ tileentity.tickTimer.startTiming(); // Spigot
|
||||
((ITickable) tileentity).c();
|
||||
this.methodProfiler.b();
|
||||
|
@ -23,10 +23,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
||||
@@ -0,0 +0,0 @@ public class CraftEventFactory {
|
||||
event.getInventory().setItem(2, event.getResult());
|
||||
return event;
|
||||
}
|
||||
+
|
||||
|
||||
+ /**
|
||||
+ * Mob spawner event.
|
||||
+ */
|
||||
@ -41,5 +40,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ entity.getServer().getPluginManager().callEvent(event);
|
||||
+ return event;
|
||||
+ }
|
||||
}
|
||||
+
|
||||
public static EntityToggleGlideEvent callToggleGlideEvent(EntityLiving entity, boolean gliding) {
|
||||
EntityToggleGlideEvent event = new EntityToggleGlideEvent((LivingEntity) entity.getBukkitEntity(), gliding);
|
||||
entity.world.getServer().getPluginManager().callEvent(event);
|
||||
--
|
Loading…
Reference in New Issue
Block a user