remove catch

This commit is contained in:
MidnightTale 2023-04-11 22:56:23 +07:00
commit c51cdedd73

View file

@ -41,7 +41,6 @@ public class Bbsdfia extends JavaPlugin implements Listener {
if(movingTo != null && movingTo.getType() == Material.END_PORTAL){ if(movingTo != null && movingTo.getType() == Material.END_PORTAL){
try {
//Entity Scheduler Task //Entity Scheduler Task
foliaLib.getImpl().runAtEntity(entity, () -> { foliaLib.getImpl().runAtEntity(entity, () -> {
//spawn new falling block in the end dimension and have same properties entity type and material same form entity that detect near end portal //spawn new falling block in the end dimension and have same properties entity type and material same form entity that detect near end portal
@ -59,10 +58,6 @@ public class Bbsdfia extends JavaPlugin implements Listener {
dummy.setVelocity(new Vector(-1, 0, 0)); dummy.setVelocity(new Vector(-1, 0, 0));
}); });
} catch (Exception ex) {
getLogger().severe("Error spawning falling block entity: " + ex.getMessage());
ex.printStackTrace();
}
logger.info("im here 66"); logger.info("im here 66");
} }
} }