Dieser Commit ist enthalten in:
Ursprung
537509a4e4
Commit
70e8fc7ff1
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren