mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Introduce Resettable interface
This commit is contained in:
@ -21,7 +21,8 @@ public class MemoryCheckingExtent extends PassthroughExtent {
|
||||
public Extent getExtent() {
|
||||
if (MemUtil.isMemoryLimited()) {
|
||||
if (this.player != null) {
|
||||
player.print(TranslatableComponent.of("fawe.cancel.worldedit.cancel.reason", (TranslatableComponent.of("fawe.cancel.worldedit.cancel.reason.low.memory"))));
|
||||
player.print(TranslatableComponent.of("fawe.cancel.worldedit.cancel.reason",
|
||||
TranslatableComponent.of("fawe.cancel.worldedit.cancel.reason.low.memory")));
|
||||
if (Permission.hasPermission(this.player, "worldedit.fast")) {
|
||||
this.player.print(TranslatableComponent.of("fawe.info.worldedit.oom.admin"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user