This is not surprising. Indonesia strictly prohibits all forms of gambling, online or offline casinos, local or foreigners. So if there are people who promote gambling or bookmakers, or punters, hence they are subject for punishments.
Also, consumption of alcohol, and any other illegal activities are strictly prohibited. In fact, no legal casinos, no poker rooms, no betting shops or bingo rooms that are currently operating in Indonesia.
It's probably because of their religion, so it prohibits almost everything. But still though, this foreigners don't know or maybe they still think that they can get over with it and play online and just bribe if being caught.
So it's their mistake to think about Indonesia who is very strict in terms of gambling. Hopefully, those who are going to visit or thinking of playing their will think twice about it.