@@ -153,8 +153,8 @@ public class DesktopInput extends InputHandler{
|
||||
if(block.saveConfig && block.lastConfig != null){
|
||||
brequest.set(cursorX, cursorY, rotation, block);
|
||||
brequest.config = block.lastConfig;
|
||||
|
||||
block.drawRequestConfig(brequest, allRequests());
|
||||
brequest.config = null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -508,7 +508,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
protected void drawRequest(BuildRequest request){
|
||||
request.block.drawRequest(request, allRequests(), validPlace(request.x, request.y, request.block, request.rotation));
|
||||
|
||||
if(request.block.saveConfig && request.block.lastConfig != null){
|
||||
if(request.block.saveConfig && request.block.lastConfig != null && !request.hasConfig){
|
||||
Object conf = request.config;
|
||||
request.config = request.block.lastConfig;
|
||||
request.block.drawRequestConfig(request, allRequests());
|
||||
|
||||
Reference in New Issue
Block a user