Fixed offline craft checks.

Contributed by ihearcolors.
This commit is contained in:
MobiusDevelopment
2020-04-23 10:28:31 +00:00
parent c2ee3cd73a
commit 2b7de9b722

View File

@@ -324,7 +324,7 @@ public class RecipeController
return; return;
} }
if (_player.isOnline() || _target.isOnline()) if (!_player.isOnline() || !_target.isOnline())
{ {
LOGGER.warning("Player or target is not online, aborting " + _target + _player); LOGGER.warning("Player or target is not online, aborting " + _target + _player);
abort(); abort();