mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 23:47:21 +00:00
prevent spawning camels on 1.19.R3
This commit is contained in:
parent
a01d27d273
commit
ccbea89253
@ -491,6 +491,9 @@ public class NMSBinding implements INMSBinding {
|
||||
|
||||
@Override
|
||||
public Entity spawnEntity(Location location, EntityType type, CreatureSpawnEvent.SpawnReason reason) {
|
||||
if (type == EntityType.CAMEL) {
|
||||
return null;
|
||||
}
|
||||
return ((CraftWorld) location.getWorld()).spawn(location, type.getEntityClass(), null, reason);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user