File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
common/src/main/java/com/fox2code/foxloader/registry Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,15 @@ public BlockBuilder setTooltipColor(Color color) {
118118 return this .setTooltipColor (color .getRGB ());
119119 }
120120
121- public void setEffectiveTool (RegisteredToolType registeredToolType ) {
121+ public BlockBuilder setEffectiveTool (RegisteredToolType registeredToolType ) {
122122 this .effectiveToolBit |= (byte )(this .effectiveToolBit | 1 << registeredToolType .ordinal ());
123+ return this ;
123124 }
124125
125- public void setEffectiveTools (RegisteredToolType ... registeredToolTypes ) {
126+ public BlockBuilder setEffectiveTools (RegisteredToolType ... registeredToolTypes ) {
126127 for (RegisteredToolType registeredToolType : registeredToolTypes ) {
127128 this .setEffectiveTool (registeredToolType );
128129 }
130+ return this ;
129131 }
130132}
You can’t perform that action at this time.
0 commit comments