SteamWar/SpigotCore
Archiviert
13
0

Implement RFallingBlockEntity
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
zOnlyKroks 2023-01-17 16:40:34 +01:00
Ursprung 537509a4e4
Commit 70e8fc7ff1

Datei anzeigen

@ -1,5 +1,6 @@
package de.steamwar.entity; package de.steamwar.entity;
import de.steamwar.core.Core;
import de.steamwar.techhider.BlockIds; import de.steamwar.techhider.BlockIds;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;
@ -8,6 +9,6 @@ import org.bukkit.entity.EntityType;
public class RFallingBlockEntity extends REntity{ public class RFallingBlockEntity extends REntity{
public RFallingBlockEntity(REntityServer server, EntityType entityType, Location location, Material material) { public RFallingBlockEntity(REntityServer server, EntityType entityType, Location location, Material material) {
super(server, entityType, location, BlockIds.impl.materialToId(material)); super(server, entityType, location, BlockIds.impl.materialToId(material) >> (Core.getVersion() <= 12 ? 4 : 0));
} }
} }