allow copies

This commit is contained in:
J-VdS
2020-08-20 20:46:04 +02:00
parent 3753e8f54a
commit 0d425456be
4 changed files with 28 additions and 2 deletions

View File

@@ -401,8 +401,8 @@ public class DesktopInput extends InputHandler{
}
if(Core.input.keyRelease(Binding.schematic_select) && !Core.scene.hasKeyboard()){
if(!state.rules.schematicAllowed){
ui.showInfoToast("@schematic.disabled", 3f);
if(!state.rules.copyAllowed){
ui.showInfoToast("@schematic.copydisabled", 3f);
}else {
lastSchematic = schematics.create(schemX, schemY, rawCursorX, rawCursorY);
useSchematic(lastSchematic);