mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 09:15:38 +00:00
Merge branch 'pr/625' into tfm44
This commit is contained in:
commit
d48bfde128
@ -79,7 +79,7 @@ public class TFM_PlayerListener implements Listener
|
|||||||
{
|
{
|
||||||
case WATER_BUCKET:
|
case WATER_BUCKET:
|
||||||
{
|
{
|
||||||
if (TFM_ConfigEntry.ALLOW_WATER_PLACE.getBoolean())
|
if (TFM_AdminList.isSuperAdmin(player) || TFM_ConfigEntry.ALLOW_WATER_PLACE.getBoolean())
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ public class TFM_PlayerListener implements Listener
|
|||||||
|
|
||||||
case LAVA_BUCKET:
|
case LAVA_BUCKET:
|
||||||
{
|
{
|
||||||
if (TFM_ConfigEntry.ALLOW_LAVA_PLACE.getBoolean())
|
if (TFM_AdminList.isSuperAdmin(player) || TFM_ConfigEntry.ALLOW_LAVA_PLACE.getBoolean())
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user