Search box mode changes should be marked dirty
This commit is contained in:
		| @@ -212,6 +212,12 @@ public class TileGrid extends TileMachine implements IGrid { | ||||
|         return searchBoxMode; | ||||
|     } | ||||
|  | ||||
|     public void setSearchBoxMode(int searchBoxMode) { | ||||
|         markDirty(); | ||||
|  | ||||
|         this.searchBoxMode = searchBoxMode; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public void onSortingTypeChanged(int type) { | ||||
|         RefinedStorage.NETWORK.sendToServer(new MessageGridSettingsUpdate(this, sortingDirection, type, searchBoxMode)); | ||||
| @@ -232,10 +238,6 @@ public class TileGrid extends TileMachine implements IGrid { | ||||
|         return this; | ||||
|     } | ||||
|  | ||||
|     public void setSearchBoxMode(int searchBoxMode) { | ||||
|         this.searchBoxMode = searchBoxMode; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public void readFromNBT(NBTTagCompound nbt) { | ||||
|         super.readFromNBT(nbt); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Raoul Van den Berge
					Raoul Van den Berge