mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 22:22:10 +00:00
More fixes, more features
Fixed Player & Block Ammunition-Scanning Now correctly copies firework rocket-item-data to the launched projectiles Additionally fixed default-config generation, and made CLOCK(s) the control item as opposed to compasses.
This commit is contained in:
1 parent
a76a7b2cfb
commit
ed8af21be6
6 files changed
+135
-27
No files matched your search
@@ -3,6 +3,7 @@ package com.github.alathra.siegeengines;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
@@ -11,7 +12,7 @@ import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.metadata.FixedMetadataValue;
|
||||
|
||||
public class SiegeEnginesUtil {
|
||||
|
||||
public static final ItemStack DEFAULT_ROCKET = new ItemStack(Material.FIREWORK_ROCKET);
|
||||
public static void UpdateEntityIdModel(Entity ent, int modelNumber, String WorldName) {
|
||||
if (ent instanceof LivingEntity) {
|
||||
LivingEntity liv = (LivingEntity) ent;
|
||||
|
||||
Reference in new issue
Block a user