mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Only warn about null engine access when the sender is a player.
This commit is contained in:
parent
4f63db3f70
commit
d81ba4a8c8
@ -42,7 +42,7 @@ public class CommandPregen implements DecreeExecutor {
|
||||
Vector center
|
||||
) {
|
||||
try {
|
||||
if (access() == null) {
|
||||
if (sender().isPlayer() && access() == null) {
|
||||
sender().sendMessage(C.RED + "The engine access for this world is null!");
|
||||
sender().sendMessage(C.RED + "Please make sure the world is loaded & the engine is initialized. Generate a new chunk, for example.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user